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.001877/0.001877, allocations: 105 kB / 21.22 MB, free: 0.6758 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.001647/0.001647, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.002012/0.002012, allocations: 64.77 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2657, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01217/0.2779, allocations: 9.807 MB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007002/0.2849, allocations: 2.775 MB / 444.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.2867, allocations: 91.56 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009912/0.2966, allocations: 4.231 MB / 448.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.3002, allocations: 0.7804 MB / 449.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.3026, allocations: 0.9825 MB / 450.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005191/0.3078, allocations: 4.097 MB / 454.7 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.3182, allocations: 7.114 MB / 461.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.3216, allocations: 2.42 MB / 464.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.3257, allocations: 2.663 MB / 466.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.3271, allocations: 0.6602 MB / 467.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.3294, allocations: 0.8904 MB / 468.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.3306, allocations: 1.243 MB / 469.7 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003233/0.3339, allocations: 2.56 MB / 472.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009835/0.3437, allocations: 8.925 MB / 481.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3437, allocations: 0 / 481.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.92e-06/0.3437, allocations: 7.938 kB / 481.2 MB, free: 5.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.3439, allocations: 0 / 481.2 MB, free: 5.41 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.01346/0.3574, allocations: 5.327 MB / 486.5 MB, free: 28 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3574, allocations: 8.031 kB / 486.5 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001163/0.3586, allocations: 0.6577 MB / 487.2 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007622/0.3662, allocations: 1.313 MB / 488.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.3716, allocations: 2.613 MB / 491.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.3719, allocations: 345.4 kB / 491.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.3732, allocations: 452 kB / 491.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.3864, allocations: 6.102 MB / 498 MB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.36e-05/0.3865, allocations: 7.953 kB / 498 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004705/0.387, allocations: 184 kB / 498.2 MB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/0.3872, allocations: 193.5 kB / 498.4 MB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.3975, allocations: 5.292 MB / 0.4918 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.4298, allocations: 20.24 MB / 0.5116 GB, free: 9.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/0.4346, allocations: 2.105 MB / 0.5137 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.4356, allocations: 0.5962 MB / 0.5142 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.4358, allocations: 44.94 kB / 0.5143 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.4358, allocations: 43.56 kB / 0.5143 GB, free: 7.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.785e-06/0.4359, allocations: 0 / 0.5143 GB, free: 7.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002467/0.4383, allocations: 1.44 MB / 0.5157 GB, free: 5.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4384, allocations: 60.41 kB / 0.5158 GB, free: 5.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.4405, allocations: 1.462 MB / 0.5172 GB, free: 4.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.4406, allocations: 41.7 kB / 0.5173 GB, free: 4.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.4421, allocations: 2.045 MB / 0.5193 GB, free: 2.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.4425, allocations: 365.1 kB / 0.5196 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/0.4431, allocations: 479.9 kB / 0.5201 GB, free: 1.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4433, allocations: 353.9 kB / 0.5204 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.4445, allocations: 0.8163 MB / 0.5212 GB, free: 68 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.4467, allocations: 1.941 MB / 0.5231 GB, free: 13.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.4503, allocations: 2.927 MB / 0.5259 GB, free: 10.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.4504, allocations: 15.94 kB / 0.526 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004792/0.4552, allocations: 2.806 MB / 0.5287 GB, free: 7.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.4552, allocations: 20 kB / 0.5287 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-05/0.4553, allocations: 40 kB / 0.5288 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.305e-05/0.4553, allocations: 56 kB / 0.5288 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.4571, allocations: 0.5381 MB / 0.5293 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.679e-05/0.4572, allocations: 79.66 kB / 0.5294 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.459, allocations: 310.2 kB / 0.5297 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.4592, allocations: 124 kB / 0.5298 GB, free: 6.102 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.003584/0.4628, allocations: 1.668 MB / 0.5315 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.4631, allocations: 135.1 kB / 0.5316 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.4653, allocations: 1.334 MB / 0.5329 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001345/0.4667, allocations: 0.9396 MB / 0.5338 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4667, allocations: 0 / 0.5338 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4667, allocations: 7.984 kB / 0.5338 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2526/0.7192, allocations: 11.11 MB / 0.5447 GB, free: 93.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.7193, allocations: 15.81 kB / 0.5447 GB, free: 93.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.7199, allocations: 216 kB / 0.5449 GB, free: 93.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.72, allocations: 23.75 kB / 0.5449 GB, free: 93.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.72, allocations: 55.16 kB / 0.545 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.278e-05/0.72, allocations: 39.41 kB / 0.545 GB, free: 92.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.7201, allocations: 28.14 kB / 0.545 GB, free: 92.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.7225, allocations: 2.461 MB / 0.5474 GB, free: 91.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.7231, allocations: 261.5 kB / 0.5477 GB, free: 91.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.7233, allocations: 47.62 kB / 0.5477 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.7239, allocations: 59.06 kB / 0.5478 GB, free: 91.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7241, allocations: 137.8 kB / 0.5479 GB, free: 91.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.7242, allocations: 57.42 kB / 0.548 GB, free: 91.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.7253, allocations: 0.9895 MB / 0.5489 GB, free: 90.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7253, allocations: 0 / 0.5489 GB, free: 90.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00235/0.7277, allocations: 0.9547 MB / 0.5499 GB, free: 90.82 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.002497/0.7302, allocations: 3.096 MB / 0.5529 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.7324, allocations: 1.796 MB / 0.5546 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.7324, allocations: 3.812 kB / 0.5546 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.733, allocations: 0.5599 MB / 0.5552 GB, free: 87.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.7349, allocations: 382.6 kB / 0.5556 GB, free: 87.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.7546, allocations: 19.6 MB / 0.5747 GB, free: 67.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.7566, allocations: 3.071 MB / 0.5777 GB, free: 63.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00145/0.758, allocations: 0.8093 MB / 0.5785 GB, free: 63.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.7591, allocations: 1.261 MB / 0.5797 GB, free: 61.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7591, allocations: 0 / 0.5797 GB, free: 61.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/0.8325, allocations: 44.93 MB / 0.6236 GB, free: 17.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.46, allocations: 11.48 kB / 0.6236 GB, free: 17.14 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 & 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.017583983950317] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.548609568271786 11.558155916 11.211997206 Calling exit ...