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.001852/0.001852, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002892/0.002892, allocations: 213.7 kB / 24.54 MB, free: 3.875 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001997/0.001997, allocations: 68.77 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2921, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01229/0.3044, allocations: 9.807 MB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.311, allocations: 2.775 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.3123, allocations: 87.56 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009391/0.3217, allocations: 4.232 MB / 448.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.3252, allocations: 0.7875 MB / 449.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.3278, allocations: 0.9775 MB / 450.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005622/0.3334, allocations: 4.085 MB / 454.7 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.3444, allocations: 7.125 MB / 461.8 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.3484, allocations: 2.412 MB / 464.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.3532, allocations: 2.663 MB / 466.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.3546, allocations: 0.6641 MB / 467.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.357, allocations: 0.8943 MB / 468.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.3584, allocations: 1.239 MB / 469.7 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003967/0.3623, allocations: 2.572 MB / 472.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.3735, allocations: 8.921 MB / 481.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3735, allocations: 0 / 481.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3735, allocations: 0 / 481.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.3737, allocations: 0 / 481.2 MB, free: 5.383 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.01592/0.3896, allocations: 5.327 MB / 486.5 MB, free: 0 / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3897, allocations: 12.08 kB / 486.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002142/0.3918, allocations: 0.6617 MB / 487.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00947/0.4013, allocations: 1.313 MB / 488.5 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006163/0.4075, allocations: 2.61 MB / 491.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.4078, allocations: 345.4 kB / 491.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.4095, allocations: 452 kB / 491.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4251, allocations: 6.102 MB / 498 MB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.4253, allocations: 7.891 kB / 498 MB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006803/0.4259, allocations: 196 kB / 498.2 MB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.4262, allocations: 193.5 kB / 498.4 MB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.438, allocations: 5.284 MB / 0.4918 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.4734, allocations: 20.23 MB / 0.5116 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00498/0.4783, allocations: 2.115 MB / 0.5137 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/0.4793, allocations: 0.5962 MB / 0.5142 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.4795, allocations: 48.94 kB / 0.5143 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.4795, allocations: 39.56 kB / 0.5143 GB, free: 7.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.639e-06/0.4795, allocations: 3.984 kB / 0.5143 GB, free: 7.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002391/0.4819, allocations: 1.437 MB / 0.5157 GB, free: 5.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.482, allocations: 60.41 kB / 0.5158 GB, free: 5.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.484, allocations: 1.466 MB / 0.5172 GB, free: 4.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.4841, allocations: 45.64 kB / 0.5173 GB, free: 4.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.4856, allocations: 2.045 MB / 0.5193 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.4859, allocations: 365.1 kB / 0.5196 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/0.4865, allocations: 475.9 kB / 0.5201 GB, free: 1.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4867, allocations: 357.9 kB / 0.5204 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.488, allocations: 0.8046 MB / 0.5212 GB, free: 40 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.4904, allocations: 1.945 MB / 0.5231 GB, free: 13.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.4943, allocations: 2.931 MB / 0.526 GB, free: 10.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-05/0.4943, allocations: 12 kB / 0.526 GB, free: 10.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004839/0.4991, allocations: 2.801 MB / 0.5287 GB, free: 7.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.4992, allocations: 24 kB / 0.5287 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.4992, allocations: 40 kB / 0.5288 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.48e-05/0.4993, allocations: 52.78 kB / 0.5288 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.5009, allocations: 0.5459 MB / 0.5294 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.251e-05/0.501, allocations: 79.72 kB / 0.5294 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.5024, allocations: 301.9 kB / 0.5297 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.5025, allocations: 120 kB / 0.5298 GB, free: 6.082 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.002892/0.5054, allocations: 1.668 MB / 0.5315 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.5057, allocations: 139.1 kB / 0.5316 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.508, allocations: 1.334 MB / 0.5329 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001407/0.5094, allocations: 0.9357 MB / 0.5338 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5094, allocations: 0 / 0.5338 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5095, allocations: 7.984 kB / 0.5338 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.255/0.7644, allocations: 11.11 MB / 0.5447 GB, free: 92.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.7644, allocations: 19.81 kB / 0.5447 GB, free: 92.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.7651, allocations: 212 kB / 0.5449 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-05/0.7651, allocations: 23.78 kB / 0.5449 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.7652, allocations: 55.16 kB / 0.545 GB, free: 92.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/0.7652, allocations: 39.36 kB / 0.545 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.7652, allocations: 31.16 kB / 0.545 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.7674, allocations: 2.467 MB / 0.5474 GB, free: 91.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.768, allocations: 255.5 kB / 0.5477 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.7681, allocations: 43.8 kB / 0.5477 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.7688, allocations: 60.67 kB / 0.5478 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.7689, allocations: 142.4 kB / 0.5479 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.769, allocations: 54.12 kB / 0.548 GB, free: 91.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.7701, allocations: 0.9922 MB / 0.5489 GB, free: 90.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7701, allocations: 0 / 0.5489 GB, free: 90.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002356/0.7725, allocations: 0.9539 MB / 0.5499 GB, free: 90.77 MB / 446.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.00242/0.7749, allocations: 3.092 MB / 0.5529 GB, free: 88.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.7771, allocations: 1.801 MB / 0.5546 GB, free: 87.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7772, allocations: 0 / 0.5546 GB, free: 87.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.7777, allocations: 0.565 MB / 0.5552 GB, free: 87.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.7796, allocations: 383.6 kB / 0.5556 GB, free: 87.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.7999, allocations: 19.61 MB / 0.5747 GB, free: 67.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.802, allocations: 3.067 MB / 0.5777 GB, free: 63.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001476/0.8035, allocations: 0.8132 MB / 0.5785 GB, free: 63.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.8047, allocations: 1.265 MB / 0.5797 GB, free: 61.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.552e-06/0.8047, allocations: 0 / 0.5797 GB, free: 61.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/0.878, allocations: 44.92 MB / 0.6236 GB, free: 17.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.08, allocations: 7.875 kB / 0.6236 GB, free: 17.12 MB / 446.1 MB " [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: 14.559251507278532] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 12.180151646025479 12.19978279 11.82220462 Calling exit ...