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.BalancingDelta.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.001294/0.001294, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001366/0.001366, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.46/1.46, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.001936/0.001936, allocations: 71.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 53.31 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2242/0.3386, allocations: 9.178 MB / 436.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005647/0.3442, allocations: 2.651 MB / 438.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.3458, allocations: 65.09 kB / 438.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007618/0.3534, allocations: 3.762 MB / 442.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.3568, allocations: 0.7505 MB / 443.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3594, allocations: 0.9334 MB / 444.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005591/0.365, allocations: 3.625 MB / 447.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/0.3791, allocations: 7.375 MB / 455.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.3832, allocations: 2.105 MB / 457.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.3884, allocations: 2.384 MB / 459.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.3904, allocations: 0.5851 MB / 460.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.3937, allocations: 0.8181 MB / 461.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.396, allocations: 1.109 MB / 462.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.4024, allocations: 2.281 MB / 464.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4153, allocations: 7.921 MB / 472.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4153, allocations: 1.312 kB / 472.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4153, allocations: 0 / 472.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002834/0.4156, allocations: 0 / 472.4 MB, free: 2.691 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01562/0.4312, allocations: 4.947 MB / 477.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4313, allocations: 8.031 kB / 477.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001269/0.4325, allocations: 0.5923 MB / 478 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007724/0.4403, allocations: 1.282 MB / 479.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/0.4457, allocations: 2.327 MB / 481.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.446, allocations: 312.4 kB / 481.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008372/0.4468, allocations: 412 kB / 482.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.4577, allocations: 5.482 MB / 487.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.834e-05/0.4578, allocations: 0 / 487.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/0.4582, allocations: 172 kB / 487.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.4584, allocations: 184.5 kB / 488.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009703/0.4681, allocations: 4.804 MB / 492.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.5011, allocations: 19.35 MB / 0.5003 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005023/0.5061, allocations: 3.791 MB / 0.504 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.5074, allocations: 0.7223 MB / 0.5047 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.5077, allocations: 207.1 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5077, allocations: 43.56 kB / 0.5049 GB, free: 5.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.755e-06/0.5077, allocations: 0 / 0.5049 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002612/0.5103, allocations: 1.565 MB / 0.5064 GB, free: 4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.5104, allocations: 64.41 kB / 0.5065 GB, free: 3.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.5125, allocations: 1.334 MB / 0.5078 GB, free: 2.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.5126, allocations: 41.7 kB / 0.5078 GB, free: 2.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.5141, allocations: 1.823 MB / 0.5096 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.5144, allocations: 381 kB / 0.51 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006798/0.5151, allocations: 455.6 kB / 0.5104 GB, free: 15.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5153, allocations: 353.9 kB / 0.5108 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.5166, allocations: 0.8318 MB / 0.5116 GB, free: 14.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.5188, allocations: 1.827 MB / 0.5134 GB, free: 12.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5224, allocations: 2.798 MB / 0.5161 GB, free: 9.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.5224, allocations: 12 kB / 0.5161 GB, free: 9.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004702/0.5271, allocations: 2.743 MB / 0.5188 GB, free: 6.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.5271, allocations: 16 kB / 0.5188 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/0.5272, allocations: 36 kB / 0.5188 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.408e-05/0.5272, allocations: 48 kB / 0.5189 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.529, allocations: 0.5225 MB / 0.5194 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.037e-05/0.5291, allocations: 71.72 kB / 0.5195 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5304, allocations: 294.3 kB / 0.5197 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.5306, allocations: 116 kB / 0.5198 GB, free: 5.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002636/0.5332, allocations: 1.484 MB / 0.5213 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.5335, allocations: 131.1 kB / 0.5214 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.5362, allocations: 1.462 MB / 0.5228 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001595/0.5378, allocations: 1.041 MB / 0.5239 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5378, allocations: 0 / 0.5239 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5378, allocations: 3.984 kB / 0.5239 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/0.5599, allocations: 13.76 MB / 0.5373 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/0.56, allocations: 20 kB / 0.5373 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.5608, allocations: 235.5 kB / 0.5375 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/0.5608, allocations: 31.94 kB / 0.5376 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/0.5609, allocations: 48 kB / 0.5376 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.171e-05/0.561, allocations: 39.84 kB / 0.5377 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/0.561, allocations: 31.88 kB / 0.5377 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.5646, allocations: 2.683 MB / 0.5403 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000805/0.5654, allocations: 335.9 kB / 0.5406 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5656, allocations: 47.98 kB / 0.5407 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.5663, allocations: 67.94 kB / 0.5407 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.5665, allocations: 151.3 kB / 0.5409 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/0.5666, allocations: 56 kB / 0.5409 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.5682, allocations: 0.9062 MB / 0.5418 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5682, allocations: 0 / 0.5418 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003078/0.5712, allocations: 0.8832 MB / 0.5427 GB, free: 12.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.004311/0.5756, allocations: 3.309 MB / 0.5459 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.5789, allocations: 1.847 MB / 0.5477 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.5789, allocations: 1.875 kB / 0.5477 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.58, allocations: 0.621 MB / 0.5483 GB, free: 6.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.582, allocations: 333.2 kB / 0.5486 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.6121, allocations: 18.58 MB / 0.5668 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003111/0.6152, allocations: 2.809 MB / 0.5695 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.617, allocations: 0.7615 MB / 0.5703 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.6186, allocations: 1.148 MB / 0.5714 GB, free: 12.96 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6186, allocations: 0 / 0.5714 GB, free: 12.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08522/0.7038, allocations: 39.67 MB / 0.6101 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.97, allocations: 7.031 kB / 0.6101 GB, free: 5.492 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.591774872038513] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.057852835860103 11.261255113 10.843524723 Calling exit ...