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.001166/0.001166, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001796/0.001796, allocations: 172.8 kB / 24.82 MB, free: 9.312 MB / 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 0.9613/0.9613, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2299/0.2299, allocations: 29.41 MB / 291.2 MB, free: 2.477 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 2.104e-06/2.104e-06, allocations: 0 / 370.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.564e-05, allocations: 5.406 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004202/0.004228, allocations: 4.037 MB / 374.1 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.006065, allocations: 1.426 MB / 375.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.006259, allocations: 23.81 kB / 375.6 MB, free: 5.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.006707, allocations: 139.2 kB / 375.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.007126, allocations: 258.6 kB / 375.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.007635, allocations: 255.1 kB / 376.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.008088, allocations: 0.5728 MB / 376.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.008367, allocations: 229.6 kB / 377 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.008801, allocations: 383.1 kB / 377.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.009102, allocations: 319.2 kB / 377.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.00915, allocations: 40 kB / 377.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.009474, allocations: 231.5 kB / 377.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.009644, allocations: 259.3 kB / 378.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.009789, allocations: 179.6 kB / 378.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.01029, allocations: 0.5373 MB / 378.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.0103, allocations: 8 kB / 378.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0103, allocations: 0 / 378.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.0103, allocations: 0 / 378.9 MB, free: 1.883 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.000858/0.01116, allocations: 0.7781 MB / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.0112, allocations: 11.98 kB / 379.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.01164, allocations: 152.5 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.01198, allocations: 331.1 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01201, allocations: 33.36 kB / 380.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.01208, allocations: 48.48 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.01247, allocations: 441.4 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.01249, allocations: 4.047 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.01251, allocations: 12 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.0126, allocations: 44.92 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.01288, allocations: 242.7 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.01481, allocations: 2.419 MB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.01503, allocations: 174.4 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.01512, allocations: 91.33 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.01514, allocations: 11.98 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.01517, allocations: 45.38 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.01517, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008642/0.01604, allocations: 0.659 MB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.01607, allocations: 85.05 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01625, allocations: 338 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01627, allocations: 33.83 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.0164, allocations: 318.8 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.01648, allocations: 158.7 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.01657, allocations: 99.75 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.0167, allocations: 0.5274 MB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.01678, allocations: 57.11 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.01695, allocations: 294.5 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.01724, allocations: 405.7 kB / 386.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01724, allocations: 0 / 386.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003809/0.01762, allocations: 397.8 kB / 387 MB, free: 9.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01764, allocations: 8 kB / 387.1 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.01765, allocations: 8 kB / 387.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01766, allocations: 7.938 kB / 387.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.01787, allocations: 103.8 kB / 387.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01788, allocations: 8.594 kB / 387.2 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01798, allocations: 16 kB / 387.2 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.01801, allocations: 19.98 kB / 387.2 MB, free: 9.012 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.000114/0.01812, allocations: 188.3 kB / 387.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.01819, allocations: 51.77 kB / 387.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.01849, allocations: 272.6 kB / 387.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.0185, allocations: 15.94 kB / 387.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.0185, allocations: 0 / 387.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01851, allocations: 3.984 kB / 387.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.01923, allocations: 0.7065 MB / 388.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01923, allocations: 0 / 388.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.0194, allocations: 59.91 kB / 388.5 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.0194, allocations: 7.938 kB / 388.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01942, allocations: 8 kB / 388.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01942, allocations: 0 / 388.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01942, allocations: 4 kB / 388.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.01984, allocations: 0.508 MB / 389 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.01987, allocations: 27.77 kB / 389.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.0199, allocations: 15.92 kB / 389.1 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.01998, allocations: 8 kB / 389.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.02001, allocations: 23.97 kB / 389.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.02003, allocations: 11.94 kB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.02013, allocations: 214.9 kB / 389.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02013, allocations: 0 / 389.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.02046, allocations: 108 kB / 389.4 MB, free: 6.691 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.0002017/0.02066, allocations: 138.2 kB / 389.6 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.02095, allocations: 245.6 kB / 389.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.02095, allocations: 1.375 kB / 389.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.02105, allocations: 111.5 kB / 389.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.02137, allocations: 80.53 kB / 390 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.02266, allocations: 0.9203 MB / 390.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.367e-05/0.02275, allocations: 145.7 kB / 391.1 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.02288, allocations: 51.25 kB / 391.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.02303, allocations: 134.2 kB / 391.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02303, allocations: 0 / 391.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of Templates: time 0.006144/0.02917, allocations: 4.098 MB / 395.3 MB, free: 0.7695 MB / 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.1154206269420683]