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.001555/0.001555, allocations: 119.7 kB / 18.5 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.001684/0.001684, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001924/0.001924, allocations: 75.83 kB / 373.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 53.31 MB / 426.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.2102/0.3204, allocations: 9.783 MB / 436.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004988/0.3254, allocations: 2.766 MB / 439.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.3265, allocations: 75 kB / 439.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008359/0.3349, allocations: 4.213 MB / 443.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.3386, allocations: 0.7716 MB / 444.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3411, allocations: 0.9645 MB / 445.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005273/0.3463, allocations: 4.064 MB / 449.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.3595, allocations: 8.503 MB / 458 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.364, allocations: 2.358 MB / 460.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/0.3695, allocations: 2.658 MB / 463 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001939/0.3714, allocations: 0.663 MB / 463.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.3746, allocations: 0.8976 MB / 464.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.3764, allocations: 1.243 MB / 465.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004345/0.3807, allocations: 2.561 MB / 468.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3914, allocations: 8.931 MB / 477.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3914, allocations: 0 / 477.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3914, allocations: 0 / 477.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002469/0.3916, allocations: 0 / 477.3 MB, free: 14.64 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.01485/0.4065, allocations: 5.402 MB / 482.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4065, allocations: 12.03 kB / 482.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.4079, allocations: 0.6617 MB / 483.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007849/0.4158, allocations: 1.317 MB / 484.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.4223, allocations: 2.608 MB / 487.3 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.4226, allocations: 352.9 kB / 487.7 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.4238, allocations: 456 kB / 488.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4388, allocations: 6.098 MB / 494.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.439, allocations: 9.172 kB / 494.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006819/0.4396, allocations: 191.9 kB / 494.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.4399, allocations: 197.5 kB / 494.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.4507, allocations: 5.28 MB / 499.9 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0341/0.4848, allocations: 21.02 MB / 0.5087 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00672/0.4915, allocations: 5.486 MB / 0.5141 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.4926, allocations: 0.6082 MB / 0.5147 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.4928, allocations: 195.2 kB / 0.5148 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.4929, allocations: 43.56 kB / 0.5149 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.906e-06/0.4929, allocations: 0 / 0.5149 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002519/0.4954, allocations: 1.444 MB / 0.5163 GB, free: 9.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4954, allocations: 60.41 kB / 0.5164 GB, free: 9.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.4977, allocations: 1.466 MB / 0.5178 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.4977, allocations: 45.7 kB / 0.5178 GB, free: 7.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4992, allocations: 2.037 MB / 0.5198 GB, free: 5.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.4995, allocations: 369 kB / 0.5202 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006554/0.5002, allocations: 475.9 kB / 0.5206 GB, free: 5.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5004, allocations: 353.9 kB / 0.521 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.5016, allocations: 0.8163 MB / 0.5218 GB, free: 3.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.5039, allocations: 1.941 MB / 0.5237 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.5077, allocations: 2.927 MB / 0.5265 GB, free: 13.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.5077, allocations: 15.94 kB / 0.5265 GB, free: 13.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004535/0.5123, allocations: 2.801 MB / 0.5293 GB, free: 11.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.5123, allocations: 24 kB / 0.5293 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/0.5123, allocations: 36 kB / 0.5293 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-05/0.5124, allocations: 56 kB / 0.5294 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.514, allocations: 0.5349 MB / 0.5299 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-05/0.5141, allocations: 79.72 kB / 0.53 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5154, allocations: 298 kB / 0.5303 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.5156, allocations: 124 kB / 0.5304 GB, free: 9.961 MB / 446.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.002648/0.5182, allocations: 1.671 MB / 0.532 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.5185, allocations: 135.1 kB / 0.5321 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.5206, allocations: 1.342 MB / 0.5335 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001299/0.5219, allocations: 0.9357 MB / 0.5344 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5219, allocations: 0 / 0.5344 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.522, allocations: 3.984 kB / 0.5344 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.5402, allocations: 13.51 MB / 0.5476 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.5403, allocations: 20 kB / 0.5476 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.541, allocations: 219.5 kB / 0.5478 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.541, allocations: 24.78 kB / 0.5478 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.5411, allocations: 44 kB / 0.5479 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.057e-05/0.5411, allocations: 43.8 kB / 0.5479 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.263e-05/0.5412, allocations: 35.86 kB / 0.5479 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.5443, allocations: 2.455 MB / 0.5503 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.545, allocations: 319.9 kB / 0.5506 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.5452, allocations: 59.97 kB / 0.5507 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.5459, allocations: 55.95 kB / 0.5507 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.546, allocations: 135.4 kB / 0.5509 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.5461, allocations: 51.98 kB / 0.5509 GB, free: 3.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.5476, allocations: 0.9916 MB / 0.5519 GB, free: 2.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5476, allocations: 4 kB / 0.5519 GB, free: 2.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002882/0.5504, allocations: 0.9453 MB / 0.5528 GB, free: 1.703 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.003706/0.5541, allocations: 3.106 MB / 0.5559 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.5572, allocations: 1.799 MB / 0.5576 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/0.5573, allocations: 4 kB / 0.5576 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.5581, allocations: 0.5585 MB / 0.5582 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5604, allocations: 384.7 kB / 0.5585 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.5922, allocations: 19.6 MB / 0.5777 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/0.5954, allocations: 3.067 MB / 0.5807 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001913/0.5973, allocations: 0.817 MB / 0.5815 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.5989, allocations: 1.257 MB / 0.5827 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5989, allocations: 4 kB / 0.5827 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.9176, allocations: 43.02 MB / 0.6247 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.49, allocations: 11.2 kB / 0.6247 GB, free: 158.7 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 13.888842597138137] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.573760248254985 11.58589253 11.191632337 Calling exit ...