Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.5 MB / 254.8 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002003/0.002003, allocations: 67.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1012, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01221/0.1134, allocations: 9.787 MB / 436.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.1199, allocations: 2.768 MB / 439.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.1218, allocations: 95.56 kB / 439.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009705/0.1315, allocations: 4.214 MB / 443.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.1345, allocations: 0.7648 MB / 444.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.1371, allocations: 0.9696 MB / 445.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2176/0.3546, allocations: 4.053 MB / 449.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.3658, allocations: 8.494 MB / 458.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.3693, allocations: 2.412 MB / 460.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005351/0.3747, allocations: 2.654 MB / 463.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.3767, allocations: 0.6622 MB / 463.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.3803, allocations: 0.8986 MB / 464.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.3824, allocations: 1.247 MB / 466 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005363/0.3877, allocations: 2.555 MB / 468.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.4029, allocations: 8.932 MB / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4029, allocations: 0 / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4029, allocations: 3.656 kB / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.4032, allocations: 0 / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.02442/0.4276, allocations: 5.407 MB / 482.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.4276, allocations: 10.31 kB / 482.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003138/0.4308, allocations: 0.6555 MB / 483.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.4453, allocations: 1.314 MB / 484.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00729/0.4526, allocations: 2.618 MB / 487.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/0.453, allocations: 349.1 kB / 487.9 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.4547, allocations: 454 kB / 488.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.4717, allocations: 6.105 MB / 494.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.4719, allocations: 7.953 kB / 494.4 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/0.4735, allocations: 187.9 kB / 494.6 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002517/0.4737, allocations: 201.5 kB / 494.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.4882, allocations: 5.276 MB / 0.4884 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/0.5328, allocations: 21.03 MB / 0.5089 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00769/0.5405, allocations: 5.489 MB / 0.5143 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.5419, allocations: 0.6043 MB / 0.5148 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.5422, allocations: 198.4 kB / 0.515 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.5423, allocations: 43.56 kB / 0.5151 GB, free: 0.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.557e-06/0.5423, allocations: 0 / 0.5151 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.003024/0.5453, allocations: 1.443 MB / 0.5165 GB, free: 15.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.5454, allocations: 64.41 kB / 0.5165 GB, free: 15.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.5487, allocations: 1.462 MB / 0.518 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.5489, allocations: 41.7 kB / 0.518 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.5508, allocations: 2.045 MB / 0.52 GB, free: 11.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.5513, allocations: 360 kB / 0.5204 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.5523, allocations: 479.9 kB / 0.5208 GB, free: 10.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.5526, allocations: 349.9 kB / 0.5211 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.5544, allocations: 0.8158 MB / 0.5219 GB, free: 9.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.557, allocations: 1.944 MB / 0.5238 GB, free: 7.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.5611, allocations: 2.926 MB / 0.5267 GB, free: 3.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.816e-05/0.5612, allocations: 12 kB / 0.5267 GB, free: 3.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005537/0.5667, allocations: 2.808 MB / 0.5294 GB, free: 1.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/0.5668, allocations: 20 kB / 0.5295 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/0.5669, allocations: 40 kB / 0.5295 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.783e-05/0.567, allocations: 52 kB / 0.5296 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.5688, allocations: 0.54 MB / 0.5301 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001031/0.5689, allocations: 74.78 kB / 0.5302 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.5707, allocations: 305.9 kB / 0.5304 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.571, allocations: 128 kB / 0.5306 GB, free: 112 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003522/0.5745, allocations: 1.663 MB / 0.5322 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.5749, allocations: 131.1 kB / 0.5323 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.5775, allocations: 1.343 MB / 0.5336 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001463/0.579, allocations: 0.9353 MB / 0.5345 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.579, allocations: 3.938 kB / 0.5345 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.579, allocations: 7.984 kB / 0.5346 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/0.6007, allocations: 13.5 MB / 0.5477 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.217e-05/0.6007, allocations: 21.78 kB / 0.5478 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/0.6016, allocations: 218.6 kB / 0.548 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.962e-05/0.6017, allocations: 28.75 kB / 0.548 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.6018, allocations: 43.98 kB / 0.548 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.789e-05/0.6018, allocations: 49.2 kB / 0.5481 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.386e-05/0.6019, allocations: 29.94 kB / 0.5481 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.6056, allocations: 2.447 MB / 0.5505 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.6064, allocations: 327.9 kB / 0.5508 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.6067, allocations: 48.05 kB / 0.5509 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.6077, allocations: 63.89 kB / 0.5509 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.6079, allocations: 126.9 kB / 0.551 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.608, allocations: 63.98 kB / 0.5511 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00213/0.6102, allocations: 0.9916 MB / 0.5521 GB, free: 9.098 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6102, allocations: 0 / 0.5521 GB, free: 9.098 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004053/0.6142, allocations: 0.9564 MB / 0.553 GB, free: 8.141 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004577/0.6188, allocations: 3.101 MB / 0.556 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.6223, allocations: 1.803 MB / 0.5578 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/0.6224, allocations: 4 kB / 0.5578 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.6233, allocations: 0.5564 MB / 0.5583 GB, free: 2.652 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.6261, allocations: 391 kB / 0.5587 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/0.6651, allocations: 19.59 MB / 0.5779 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005356/0.6705, allocations: 3.071 MB / 0.5809 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002255/0.6728, allocations: 0.8093 MB / 0.5816 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/0.6755, allocations: 1.261 MB / 0.5829 GB, free: 7.875 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6755, allocations: 4 kB / 0.5829 GB, free: 7.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09046/0.766, allocations: 43.06 MB / 0.6249 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.72, allocations: 7.25 kB / 0.6249 GB, free: 13.08 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.307488730642945] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.817133153788745 11.844550705 11.436601834 Calling exit ...