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.001898/0.001898, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002041/0.002041, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3747/0.3747, allocations: 29.41 MB / 290.5 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 368.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.592e-05, allocations: 2.312 kB / 368.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.01217/0.01221, allocations: 4.502 MB / 373.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.01733, allocations: 1.429 MB / 374.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.0177, allocations: 19.81 kB / 374.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.01973, allocations: 378.4 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.02074, allocations: 230.7 kB / 375.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.02214, allocations: 263.1 kB / 375.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.02332, allocations: 0.5455 MB / 376.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.02398, allocations: 213.5 kB / 376.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.02498, allocations: 346.9 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.02577, allocations: 275.3 kB / 377 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.02587, allocations: 32 kB / 377 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.02644, allocations: 151.7 kB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.02687, allocations: 239.4 kB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.02723, allocations: 163.6 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.02852, allocations: 0.5842 MB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02852, allocations: 0 / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02852, allocations: 0 / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.02853, allocations: 4 kB / 378.2 MB, free: 2.004 MB / 346.7 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.002165/0.0307, allocations: 0.7976 MB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.03075, allocations: 11.98 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.03211, allocations: 168.4 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.0333, allocations: 354.8 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.03337, allocations: 33.36 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.03358, allocations: 44.56 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.03499, allocations: 0.5332 MB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.03502, allocations: 0 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.03509, allocations: 16 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.03529, allocations: 36.86 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.03632, allocations: 255.6 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/0.04314, allocations: 3.458 MB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.04377, allocations: 173.9 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.0441, allocations: 91.41 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.04416, allocations: 7.984 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.04421, allocations: 41.33 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.486e-06/0.04422, allocations: 0 / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001887/0.0461, allocations: 0.6888 MB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.04618, allocations: 85.23 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.04666, allocations: 414 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.04669, allocations: 29.7 kB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.04698, allocations: 338.7 kB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.0471, allocations: 111.2 kB / 385.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.04728, allocations: 115.8 kB / 385.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003296/0.04761, allocations: 0.5313 MB / 386.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.04779, allocations: 72.95 kB / 386.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.04825, allocations: 367.5 kB / 386.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.04896, allocations: 0.4905 MB / 387.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.04897, allocations: 4 kB / 387.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007789/0.04974, allocations: 416.9 kB / 387.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.04977, allocations: 8 kB / 387.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.04978, allocations: 4 kB / 387.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.04981, allocations: 12 kB / 387.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.05026, allocations: 124.4 kB / 387.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.05028, allocations: 16 kB / 388 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.05054, allocations: 27.97 kB / 388 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.0506, allocations: 24 kB / 388 MB, free: 7.469 MB / 362.7 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.0002394/0.05084, allocations: 192.4 kB / 388.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.05094, allocations: 51.7 kB / 388.2 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.05153, allocations: 265.6 kB / 388.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.05154, allocations: 7.984 kB / 388.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.05155, allocations: 0 / 388.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.05155, allocations: 7.984 kB / 388.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.05311, allocations: 0.7897 MB / 389.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.05311, allocations: 0 / 389.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.05345, allocations: 63.91 kB / 389.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.05346, allocations: 0 / 389.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.05348, allocations: 11.98 kB / 389.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.05349, allocations: 4 kB / 389.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.05349, allocations: 0 / 389.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.05427, allocations: 0.5154 MB / 389.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.05433, allocations: 27.91 kB / 389.9 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.05439, allocations: 11.98 kB / 389.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.05455, allocations: 8 kB / 390 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.05461, allocations: 19.95 kB / 390 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.05464, allocations: 15.94 kB / 390 MB, free: 5.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.05489, allocations: 243 kB / 390.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05489, allocations: 0 / 390.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.05536, allocations: 92 kB / 390.3 MB, free: 5.051 MB / 362.7 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.0001502/0.05551, allocations: 107.2 kB / 390.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.05604, allocations: 281.9 kB / 390.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.05604, allocations: 0 / 390.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.05625, allocations: 115.5 kB / 390.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.05677, allocations: 75.53 kB / 390.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.05832, allocations: 0.8443 MB / 391.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.05862, allocations: 245.7 kB / 392 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.05893, allocations: 115.1 kB / 392.1 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.05902, allocations: 32.5 kB / 392.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05902, allocations: 0 / 392.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of Templates: time 0.008715/0.06774, allocations: 3.267 MB / 395.4 MB, free: 15.97 MB / 378.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.953324862057343]