Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.91 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2689, allocations: 50.54 MB / 409.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01213/0.2811, allocations: 10.01 MB / 419.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.2885, allocations: 3.384 MB / 422.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.2904, allocations: 71.75 kB / 422.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009163/0.2995, allocations: 3.83 MB / 426.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.3046, allocations: 1.483 MB / 427.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.3076, allocations: 1.053 MB / 428.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.3191, allocations: 9.255 MB / 438.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03019/0.3493, allocations: 20.34 MB / 458.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008013/0.3574, allocations: 5.054 MB / 463.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3677, allocations: 6.099 MB / 469.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003765/0.3715, allocations: 1.402 MB / 471.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005184/0.3767, allocations: 1.656 MB / 472.7 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00466/0.3814, allocations: 2.919 MB / 475.6 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01012/0.3916, allocations: 5.451 MB / 481.1 MB, free: 9.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02415/0.4158, allocations: 18.9 MB / 500 MB, free: 6.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4158, allocations: 4 kB / 500 MB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4158, allocations: 0 / 500 MB, free: 6.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004797/0.4163, allocations: 4 kB / 500 MB, free: 6.059 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03798/0.4543, allocations: 12.45 MB / 0.5004 GB, free: 9.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.4544, allocations: 12.03 kB / 0.5005 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005104/0.4595, allocations: 1.324 MB / 0.5017 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05081/0.5103, allocations: 8.429 MB / 0.51 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.5256, allocations: 5.908 MB / 0.5157 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007485/0.5263, allocations: 0.6623 MB / 0.5164 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/0.5306, allocations: 0.8671 MB / 0.5172 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04101/0.5716, allocations: 16.02 MB / 0.5329 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003706/0.5721, allocations: 11.95 kB / 0.5329 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/0.5752, allocations: 368 kB / 0.5332 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007907/0.576, allocations: 0.562 MB / 0.5338 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.425/1.001, allocations: 15.77 MB / 0.5492 GB, free: 108.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/1.066, allocations: 48.68 MB / 0.5967 GB, free: 67.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.082, allocations: 19.35 MB / 0.6156 GB, free: 46.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/1.086, allocations: 3.597 MB / 0.6191 GB, free: 42.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/1.086, allocations: 300.6 kB / 0.6194 GB, free: 42.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.087, allocations: 82.56 kB / 0.6195 GB, free: 42.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.853e-06/1.087, allocations: 4 kB / 0.6195 GB, free: 42.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02008/1.107, allocations: 11.61 MB / 0.6308 GB, free: 30.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/1.107, allocations: 125.1 kB / 0.631 GB, free: 30.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/1.111, allocations: 3.854 MB / 0.6347 GB, free: 26.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005779/1.112, allocations: 101.7 kB / 0.6348 GB, free: 26.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.113, allocations: 4.048 MB / 0.6388 GB, free: 22.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.115, allocations: 1.685 MB / 0.6404 GB, free: 21.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/1.116, allocations: 1.489 MB / 0.6419 GB, free: 19.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/1.116, allocations: 301.1 kB / 0.6422 GB, free: 19.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004299/1.121, allocations: 3.699 MB / 0.6458 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005365/1.126, allocations: 6.532 MB / 0.6522 GB, free: 7.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.138, allocations: 10.85 MB / 0.6628 GB, free: 11.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.872e-05/1.138, allocations: 28 kB / 0.6628 GB, free: 11.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02979/1.168, allocations: 12 MB / 0.6745 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.168, allocations: 44 kB / 0.6745 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.168, allocations: 96 kB / 0.6746 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008012/1.176, allocations: 1.621 MB / 0.6762 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/1.187, allocations: 1.677 MB / 0.6779 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03847/1.226, allocations: 17.67 MB / 0.6951 GB, free: 9.703 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.236, allocations: 0.9703 MB / 0.6961 GB, free: 8.727 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/1.238, allocations: 364 kB / 0.6964 GB, free: 8.371 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01278/1.251, allocations: 3.754 MB / 0.7001 GB, free: 4.602 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.253, allocations: 413.3 kB / 0.7005 GB, free: 4.195 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/1.272, allocations: 8.577 MB / 0.7088 GB, free: 11.53 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/1.272, allocations: 48 kB / 0.7089 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.714e-05/1.272, allocations: 12 kB / 0.7089 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.272, allocations: 27.91 kB / 0.7089 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03451/1.306, allocations: 16.84 MB / 0.7254 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.306, allocations: 4 kB / 0.7254 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/1.31, allocations: 0.8698 MB / 0.7262 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005025/1.315, allocations: 1.519 MB / 0.7277 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/1.316, allocations: 112 kB / 0.7278 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/1.339, allocations: 17.48 MB / 0.7449 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.339, allocations: 0 / 0.7449 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2388/1.578, allocations: 12.29 MB / 0.7569 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.58, allocations: 1.121 MB / 0.758 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007943/1.581, allocations: 85.09 kB / 0.7581 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.583, allocations: 300 kB / 0.7584 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/1.584, allocations: 327.7 kB / 0.7587 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/1.584, allocations: 141.5 kB / 0.7588 GB, free: 182.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003122/1.588, allocations: 2.578 MB / 0.7613 GB, free: 181.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.588, allocations: 0 / 0.7613 GB, free: 181.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006596/1.594, allocations: 2.409 MB / 0.7637 GB, free: 181.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01686/1.611, allocations: 13.02 MB / 0.7764 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.625, allocations: 9.411 MB / 0.7856 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.625, allocations: 2 kB / 0.7856 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006613/1.631, allocations: 4.496 MB / 0.79 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.635, allocations: 0.73 MB / 0.7907 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08142/1.717, allocations: 61.36 MB / 0.8506 GB, free: 104.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005324/1.722, allocations: 6.049 MB / 0.8565 GB, free: 98.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00589/1.728, allocations: 3.251 MB / 0.8597 GB, free: 95.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/1.732, allocations: 3.061 MB / 0.8627 GB, free: 92.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/1.732, allocations: 0 / 0.8627 GB, free: 92.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4251/2.158, allocations: 124.5 MB / 0.9843 GB, free: 173.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/21.97, allocations: 26.06 kB / 0.9843 GB, free: 173.1 MB / 0.545 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1)