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.0009612/0.0009612, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001461/0.001461, allocations: 161 kB / 24.56 MB, free: 16 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2494/0.2494, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.7 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 1.804e-06/1.804e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.017e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004324/0.004344, allocations: 4.052 MB / 373.7 MB, free: 6.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.006093, allocations: 1.442 MB / 375.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.006268, allocations: 15.88 kB / 375.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.006754, allocations: 147.1 kB / 375.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.00719, allocations: 258.6 kB / 375.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.007721, allocations: 263.1 kB / 375.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.008191, allocations: 0.565 MB / 376.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.008499, allocations: 225.7 kB / 376.6 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.00887, allocations: 339.1 kB / 376.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.009216, allocations: 347.2 kB / 377.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.009267, allocations: 40 kB / 377.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.00962, allocations: 235.4 kB / 377.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.009821, allocations: 251.4 kB / 377.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.009981, allocations: 179.6 kB / 377.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.01057, allocations: 0.549 MB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01057, allocations: 4 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01057, allocations: 0 / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01058, allocations: 4 kB / 378.5 MB, free: 2.121 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009317/0.01151, allocations: 0.8056 MB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.01155, allocations: 15.97 kB / 379.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.01208, allocations: 176.4 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.01251, allocations: 370.7 kB / 379.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.01253, allocations: 29.38 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.01263, allocations: 48.55 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.01312, allocations: 469.5 kB / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01314, allocations: 0 / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.01317, allocations: 19.98 kB / 380.4 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.01326, allocations: 56.95 kB / 380.4 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.01395, allocations: 309.5 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.01598, allocations: 2.474 MB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.01626, allocations: 198.3 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.01639, allocations: 103.3 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.01642, allocations: 8 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.01644, allocations: 37.39 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.01645, allocations: 4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001107/0.01755, allocations: 0.8494 MB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.01759, allocations: 81.11 kB / 384.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.0178, allocations: 338.2 kB / 384.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.01782, allocations: 33.7 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.01794, allocations: 306.9 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.01803, allocations: 158.7 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.01812, allocations: 103.8 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.01824, allocations: 0.5235 MB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01836, allocations: 77.11 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.01856, allocations: 318.6 kB / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.01892, allocations: 433.7 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01892, allocations: 0 / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004587/0.01938, allocations: 438.4 kB / 387.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01939, allocations: 12.09 kB / 387.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.0194, allocations: 4 kB / 387.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01942, allocations: 11.94 kB / 387.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.01967, allocations: 115.8 kB / 387.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01968, allocations: 8 kB / 387.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.01981, allocations: 23.97 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.01984, allocations: 20 kB / 387.4 MB, free: 8.66 MB / 362.7 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.0003645/0.0202, allocations: 184.4 kB / 387.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.02027, allocations: 51.77 kB / 387.6 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.02063, allocations: 304.6 kB / 387.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.02064, allocations: 15.94 kB / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02065, allocations: 0 / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.02065, allocations: 3.984 kB / 387.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.02152, allocations: 0.8113 MB / 388.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.02152, allocations: 7.938 kB / 388.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.02171, allocations: 67.89 kB / 388.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.02171, allocations: 12.08 kB / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.02173, allocations: 12 kB / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.02174, allocations: 7.938 kB / 388.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02174, allocations: 0 / 388.8 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.02226, allocations: 0.5471 MB / 389.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.02229, allocations: 35.69 kB / 389.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.02232, allocations: 8 kB / 389.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.02242, allocations: 19.97 kB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.02246, allocations: 31.89 kB / 389.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02247, allocations: 8 kB / 389.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.0226, allocations: 223 kB / 389.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0226, allocations: 0 / 389.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.02289, allocations: 108 kB / 389.8 MB, free: 6.109 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 (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.0001727/0.02307, allocations: 135.1 kB / 389.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.02341, allocations: 282.4 kB / 390.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02341, allocations: 0 / 390.2 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.02355, allocations: 131.4 kB / 390.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.02387, allocations: 70.48 kB / 390.4 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.02545, allocations: 0.9371 MB / 391.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02557, allocations: 149.7 kB / 391.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.02581, allocations: 99.16 kB / 391.6 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.0259, allocations: 36.48 kB / 391.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0259, allocations: 4 kB / 391.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of Templates: time 0.00726/0.03316, allocations: 3.81 MB / 395.4 MB, free: 484 kB / 362.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.161527999676764]