Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2046/0.2046, allocations: 38.53 MB / 353.2 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 67.89 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4436, allocations: 62.47 MB / 0.5427 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.008344/0.4519, allocations: 4.583 MB / 0.5472 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.4554, allocations: 1.496 MB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.4557, allocations: 17.16 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.457, allocations: 390.6 kB / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008674/0.4579, allocations: 255.8 kB / 0.5493 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.4587, allocations: 245.6 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007961/0.4595, allocations: 0.5614 MB / 0.5501 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.46, allocations: 228.7 kB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.4605, allocations: 266.5 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.4611, allocations: 378.8 kB / 0.5509 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.4612, allocations: 38.94 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.4618, allocations: 255.6 kB / 0.5512 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.4621, allocations: 240.9 kB / 0.5514 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.4625, allocations: 262 kB / 0.5517 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.4635, allocations: 0.6799 MB / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4635, allocations: 0.6875 kB / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4635, allocations: 0 / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4636, allocations: 5.125 kB / 0.5524 GB, free: 9.258 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00181/0.4654, allocations: 0.7105 MB / 0.5531 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.4654, allocations: 13.83 kB / 0.5531 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.699e-05/0.4654, allocations: 11.12 kB / 0.5531 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.4656, allocations: 84.2 kB / 0.5532 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.4664, allocations: 134.9 kB / 0.5533 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.4672, allocations: 357.9 kB / 0.5536 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.4672, allocations: 37.14 kB / 0.5537 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.4673, allocations: 44.02 kB / 0.5537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.4685, allocations: 0.6751 MB / 0.5544 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4686, allocations: 2.969 kB / 0.5544 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.4686, allocations: 19.55 kB / 0.5544 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.4688, allocations: 52.58 kB / 0.5544 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.47, allocations: 0.6672 MB / 0.5551 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003987/0.4739, allocations: 2.459 MB / 0.5575 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.4745, allocations: 313.1 kB / 0.5578 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.4748, allocations: 209.6 kB / 0.558 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.4749, allocations: 7.984 kB / 0.558 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4749, allocations: 34.56 kB / 0.558 GB, free: 4.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.795e-06/0.4749, allocations: 0 / 0.558 GB, free: 4.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002297/0.4772, allocations: 1.287 MB / 0.5593 GB, free: 3.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.4773, allocations: 81.11 kB / 0.5594 GB, free: 3.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.4777, allocations: 304.4 kB / 0.5597 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.4777, allocations: 37.7 kB / 0.5597 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4779, allocations: 264.2 kB / 0.5599 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4781, allocations: 158.6 kB / 0.5601 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.4782, allocations: 102.3 kB / 0.5602 GB, free: 2.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4784, allocations: 346.8 kB / 0.5605 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4787, allocations: 205 kB / 0.5607 GB, free: 1.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.4792, allocations: 361.5 kB / 0.5611 GB, free: 1.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.48, allocations: 0.6021 MB / 0.5617 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.48, allocations: 4 kB / 0.5617 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009623/0.481, allocations: 0.6227 MB / 0.5623 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.481, allocations: 11.98 kB / 0.5623 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.481, allocations: 8.047 kB / 0.5623 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4811, allocations: 8 kB / 0.5623 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.4815, allocations: 112.4 kB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.4815, allocations: 11.94 kB / 0.5624 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.4818, allocations: 31.97 kB / 0.5624 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4818, allocations: 20 kB / 0.5625 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0003021/0.4821, allocations: 221.6 kB / 0.5627 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.4822, allocations: 39.77 kB / 0.5627 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.483, allocations: 0.4886 MB / 0.5632 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.483, allocations: 12 kB / 0.5632 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.483, allocations: 0 / 0.5632 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.483, allocations: 7.984 kB / 0.5632 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.4849, allocations: 1.073 MB / 0.5643 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4849, allocations: 0 / 0.5643 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.4853, allocations: 71.89 kB / 0.5643 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4853, allocations: 0 / 0.5643 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4853, allocations: 12.09 kB / 0.5643 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4853, allocations: 7.938 kB / 0.5643 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4853, allocations: 0 / 0.5643 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4864, allocations: 0.8283 MB / 0.5651 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4866, allocations: 39.77 kB / 0.5652 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.4866, allocations: 16.03 kB / 0.5652 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.4868, allocations: 15.98 kB / 0.5652 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.4869, allocations: 19.91 kB / 0.5652 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.4869, allocations: 15.98 kB / 0.5653 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4871, allocations: 211.1 kB / 0.5655 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4871, allocations: 4 kB / 0.5655 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000501/0.4876, allocations: 103.9 kB / 0.5656 GB, free: 12.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001514/0.4891, allocations: 1.4 MB / 0.5669 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.4899, allocations: 476 kB / 0.5674 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4899, allocations: 1.375 kB / 0.5674 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.4902, allocations: 204.5 kB / 0.5676 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.4907, allocations: 72.16 kB / 0.5676 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.4964, allocations: 4.407 MB / 0.5719 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.497, allocations: 0.8704 MB / 0.5728 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.4973, allocations: 135.1 kB / 0.5729 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.4975, allocations: 143.4 kB / 0.5731 GB, free: 4.555 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4975, allocations: 0 / 0.5731 GB, free: 4.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.53, allocations: 8.487 MB / 0.5813 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.19, allocations: 15.55 kB / 0.5814 GB, free: 12.2 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.323520225996617] Failed to read output from testmodel.py, exit status != 0: 12.37250454997411 12.387796039 11.920978919 Calling exit ...