Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001883/0.001883, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.002399/0.002399, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.518/1.518, allocations: 230.6 MB / 258.2 MB, free: 7.973 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.1871/0.1871, allocations: 38.54 MB / 353.2 MB, free: 12.34 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: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [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.002201/0.002201, allocations: 75.89 kB / 493.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3861, allocations: 62.47 MB / 0.5431 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006718/0.3928, allocations: 4.325 MB / 0.5474 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3956, allocations: 1.383 MB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.3959, allocations: 20.97 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.3971, allocations: 363.8 kB / 0.5491 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.3977, allocations: 228.7 kB / 0.5493 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.3986, allocations: 250.7 kB / 0.5495 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.3993, allocations: 0.5349 MB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.3997, allocations: 221.1 kB / 0.5503 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.4001, allocations: 265.9 kB / 0.5505 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.4006, allocations: 308.3 kB / 0.5508 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.4006, allocations: 32.31 kB / 0.5509 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.401, allocations: 139.3 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.4012, allocations: 232.8 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.4015, allocations: 201.4 kB / 0.5514 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007535/0.4022, allocations: 0.5713 MB / 0.552 GB, free: 9.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4022, allocations: 1.125 kB / 0.552 GB, free: 9.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4022, allocations: 4 kB / 0.552 GB, free: 9.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.4022, allocations: 0 / 0.552 GB, free: 9.957 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001407/0.4037, allocations: 0.6776 MB / 0.5526 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4037, allocations: 12.7 kB / 0.5526 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.4044, allocations: 119.6 kB / 0.5528 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.4052, allocations: 345 kB / 0.5531 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.4052, allocations: 30.47 kB / 0.5531 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.4054, allocations: 65.23 kB / 0.5532 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.4065, allocations: 0.6201 MB / 0.5538 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.4065, allocations: 6.031 kB / 0.5538 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.4066, allocations: 16.28 kB / 0.5538 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.4067, allocations: 29.77 kB / 0.5538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.4075, allocations: 477 kB / 0.5543 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.4111, allocations: 2.669 MB / 0.5569 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.4115, allocations: 216.9 kB / 0.5571 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4117, allocations: 133.7 kB / 0.5572 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.4118, allocations: 7.984 kB / 0.5572 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.4118, allocations: 42.5 kB / 0.5573 GB, free: 5.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.4118, allocations: 0 / 0.5573 GB, free: 5.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001685/0.4135, allocations: 0.9001 MB / 0.5582 GB, free: 4.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.4136, allocations: 85.11 kB / 0.5582 GB, free: 4.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.4139, allocations: 324.3 kB / 0.5585 GB, free: 4.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4139, allocations: 33.7 kB / 0.5586 GB, free: 4.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4141, allocations: 284 kB / 0.5588 GB, free: 3.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.4142, allocations: 103.1 kB / 0.5589 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4144, allocations: 98.14 kB / 0.559 GB, free: 3.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4145, allocations: 342.8 kB / 0.5594 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.4148, allocations: 148.8 kB / 0.5595 GB, free: 3.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.4151, allocations: 338.7 kB / 0.5598 GB, free: 2.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.4158, allocations: 0.5247 MB / 0.5603 GB, free: 2.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4158, allocations: 4 kB / 0.5603 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008194/0.4166, allocations: 0.5322 MB / 0.5609 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4166, allocations: 8 kB / 0.5609 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4167, allocations: 8 kB / 0.5609 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4167, allocations: 12.75 kB / 0.5609 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.4171, allocations: 119.8 kB / 0.561 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.4171, allocations: 19.92 kB / 0.561 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.4174, allocations: 23.98 kB / 0.561 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.4174, allocations: 24 kB / 0.5611 GB, free: 1.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0002656/0.4177, allocations: 217.8 kB / 0.5613 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.4178, allocations: 31.81 kB / 0.5613 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/0.4184, allocations: 362.1 kB / 0.5617 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4184, allocations: 4 kB / 0.5617 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4184, allocations: 0 / 0.5617 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4184, allocations: 7.938 kB / 0.5617 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.4198, allocations: 0.7585 MB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4198, allocations: 4 kB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4201, allocations: 67.89 kB / 0.5625 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4201, allocations: 4 kB / 0.5625 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4201, allocations: 8 kB / 0.5625 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4201, allocations: 7.984 kB / 0.5625 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4201, allocations: 4 kB / 0.5625 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.421, allocations: 0.5898 MB / 0.5631 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.421, allocations: 27.77 kB / 0.5631 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.4211, allocations: 15.97 kB / 0.5631 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4213, allocations: 8 kB / 0.5631 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.4213, allocations: 27.89 kB / 0.5632 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4213, allocations: 8 kB / 0.5632 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.4216, allocations: 215.1 kB / 0.5634 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4216, allocations: 0 / 0.5634 GB, free: 14.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.4221, allocations: 88 kB / 0.5634 GB, free: 14.79 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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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.0001359/0.4222, allocations: 115.2 kB / 0.5636 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.4228, allocations: 349 kB / 0.5639 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4228, allocations: 4 kB / 0.5639 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.423, allocations: 133.2 kB / 0.564 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.4235, allocations: 71.28 kB / 0.5641 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4253, allocations: 1.054 MB / 0.5651 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4256, allocations: 253.8 kB / 0.5654 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4257, allocations: 35.42 kB / 0.5654 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4257, allocations: 0 / 0.5654 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.008436/0.4341, allocations: 5.186 MB / 0.5705 GB, free: 7.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.535087960306555] Failed to read output from testmodel.py, exit status != 0: 0.4433642802760005 0.457226269 0.051871953000000005 Calling exit ...