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.001306/0.001306, allocations: 84.39 kB / 20.68 MB, free: 1.023 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.001452/0.001452, allocations: 163.5 kB / 23.95 MB, free: 4.156 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.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.1789/0.1789, allocations: 29.42 MB / 290.1 MB, free: 3.309 MB / 270.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.776e-05, allocations: 2.281 kB / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00674/0.006767, allocations: 4.311 MB / 435 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.009825, allocations: 1.394 MB / 436.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.0102, allocations: 15.88 kB / 436.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01162, allocations: 362.4 kB / 436.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007963/0.01241, allocations: 262.4 kB / 437 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.01325, allocations: 255.2 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01434, allocations: 0.5766 MB / 437.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.01483, allocations: 217.5 kB / 438.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007491/0.01558, allocations: 343 kB / 438.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006377/0.01622, allocations: 343.1 kB / 438.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.01633, allocations: 44 kB / 438.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.01689, allocations: 231.5 kB / 439 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.0172, allocations: 255.3 kB / 439.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.01752, allocations: 179.6 kB / 439.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.01871, allocations: 0.7089 MB / 440.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01871, allocations: 7.875 kB / 440.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01871, allocations: 0 / 440.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.01874, allocations: 0 / 440.2 MB, free: 8.477 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00171/0.02045, allocations: 0.7095 MB / 440.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.02049, allocations: 8.031 kB / 440.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.02132, allocations: 124.5 kB / 441 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.02221, allocations: 363.9 kB / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.02225, allocations: 25.38 kB / 441.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.0224, allocations: 48.53 kB / 441.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.02355, allocations: 0.6884 MB / 442.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.02357, allocations: 7.938 kB / 442.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.02363, allocations: 20 kB / 442.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.0238, allocations: 52.97 kB / 442.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.02491, allocations: 0.6635 MB / 442.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.02866, allocations: 2.286 MB / 445.1 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.02924, allocations: 313.3 kB / 445.4 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.02958, allocations: 202 kB / 445.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.02961, allocations: 15.95 kB / 445.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.02965, allocations: 38.5 kB / 445.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.02965, allocations: 0 / 445.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002207/0.03186, allocations: 1.286 MB / 447 MB, free: 1.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.03192, allocations: 81.11 kB / 447.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.03224, allocations: 300.2 kB / 447.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.03227, allocations: 29.7 kB / 447.4 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.03246, allocations: 260.2 kB / 447.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.03259, allocations: 150.7 kB / 447.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.03274, allocations: 102.1 kB / 447.9 MB, free: 444 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.0329, allocations: 346.8 kB / 448.2 MB, free: 88 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1823/0.2152, allocations: 201.2 kB / 448.4 MB, free: 30.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.2157, allocations: 362.9 kB / 448.8 MB, free: 29.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.2164, allocations: 0.6098 MB / 449.4 MB, free: 29.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2164, allocations: 2.438 kB / 449.4 MB, free: 29.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001061/0.2175, allocations: 0.6203 MB / 450 MB, free: 29.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2175, allocations: 7.594 kB / 450 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.2175, allocations: 7.594 kB / 450 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.2176, allocations: 9.156 kB / 450 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.218, allocations: 117.5 kB / 450.1 MB, free: 29.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.2181, allocations: 10.86 kB / 450.1 MB, free: 29.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.2184, allocations: 26 kB / 450.2 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.2184, allocations: 21.38 kB / 450.2 MB, free: 29.39 MB / 366.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.0002503/0.2187, allocations: 223.1 kB / 450.4 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2188, allocations: 37.16 kB / 450.5 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.2196, allocations: 495.7 kB / 450.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.2196, allocations: 12.09 kB / 450.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2196, allocations: 1.188 kB / 450.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2196, allocations: 2.016 kB / 450.9 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.2214, allocations: 0.9847 MB / 451.9 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2214, allocations: 5.094 kB / 451.9 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.2218, allocations: 68.59 kB / 452 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2218, allocations: 2.562 kB / 452 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.2219, allocations: 9.781 kB / 452 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2219, allocations: 3.172 kB / 452 MB, free: 28.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2219, allocations: 9.281 kB / 452 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.223, allocations: 0.83 MB / 452.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.2231, allocations: 31.08 kB / 452.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.2231, allocations: 8.812 kB / 452.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2234, allocations: 19.53 kB / 452.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.2234, allocations: 30.83 kB / 452.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2235, allocations: 10.28 kB / 453 MB, free: 28.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.2237, allocations: 206.6 kB / 453.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2237, allocations: 0 / 453.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000544/0.2242, allocations: 112.2 kB / 453.3 MB, free: 28.01 MB / 366.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.0002623/0.2245, allocations: 136.7 kB / 453.4 MB, free: 27.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.2252, allocations: 473.6 kB / 453.9 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2252, allocations: 1.438 kB / 453.9 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.2255, allocations: 198.8 kB / 454.1 MB, free: 27.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.2261, allocations: 69.64 kB / 454.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2276, allocations: 1.042 MB / 455.2 MB, free: 27.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2279, allocations: 271.7 kB / 455.4 MB, free: 27.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.2283, allocations: 126.1 kB / 455.6 MB, free: 27.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2284, allocations: 32.42 kB / 455.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2284, allocations: 0 / 455.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of Templates: time 0.009532/0.2379, allocations: 3.771 MB / 459.4 MB, free: 26.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.889557205140591] Failed to read output from testmodel.py, exit status != 0: 0.24710411205887794 0.26095953699999996 0.23963953899999996 Calling exit ...