Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.001469/0.001469, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001572/0.001572, allocations: 161.7 kB / 24.27 MB, free: 172 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.473/1.473, 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.2978/0.2978, allocations: 29.42 MB / 290.5 MB, free: 2.438 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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.614e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.006625/0.006661, allocations: 3.331 MB / 372.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.009026, allocations: 1.157 MB / 373.4 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.009284, allocations: 7.938 kB / 373.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.01008, allocations: 163.2 kB / 373.5 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.01074, allocations: 182.9 kB / 373.7 MB, free: 6.457 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.01122, allocations: 139.4 kB / 373.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.0118, allocations: 294.9 kB / 374.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.01219, allocations: 98.3 kB / 374.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.01281, allocations: 179.5 kB / 374.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01308, allocations: 95.69 kB / 374.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.01312, allocations: 16 kB / 374.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.0136, allocations: 199.3 kB / 374.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01373, allocations: 63.75 kB / 374.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.01387, allocations: 67.83 kB / 374.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.01462, allocations: 295 kB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.01463, allocations: 4 kB / 375.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01463, allocations: 0 / 375.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.01464, allocations: 0 / 375.1 MB, free: 5.035 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009558/0.01559, allocations: 433.4 kB / 375.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.01565, allocations: 11.98 kB / 375.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.01659, allocations: 112.7 kB / 375.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.01703, allocations: 213.3 kB / 375.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.01706, allocations: 16.7 kB / 375.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.01711, allocations: 16.38 kB / 375.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.01762, allocations: 260.6 kB / 376.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.01764, allocations: 8.125 kB / 376.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.01767, allocations: 16.05 kB / 376.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.0177, allocations: 12.33 kB / 376.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.01812, allocations: 224.3 kB / 376.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.02027, allocations: 1.064 MB / 377.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.02056, allocations: 137.1 kB / 377.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.02064, allocations: 37.86 kB / 377.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.02067, allocations: 11.98 kB / 377.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.0207, allocations: 30.56 kB / 377.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.02071, allocations: 4 kB / 377.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004362/0.02114, allocations: 168.9 kB / 377.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.02122, allocations: 85.05 kB / 378 MB, free: 2.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.02146, allocations: 187.1 kB / 378.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.02148, allocations: 29.7 kB / 378.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.02162, allocations: 160.2 kB / 378.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.02168, allocations: 43.64 kB / 378.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.02175, allocations: 37.7 kB / 378.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.02195, allocations: 330.8 kB / 378.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.02206, allocations: 43.97 kB / 378.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.02223, allocations: 125.1 kB / 378.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.02253, allocations: 186 kB / 379.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.02253, allocations: 0 / 379.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003936/0.02293, allocations: 213.5 kB / 379.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.02295, allocations: 4 kB / 379.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.02296, allocations: 4 kB / 379.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.02299, allocations: 4 kB / 379.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.02328, allocations: 47.91 kB / 379.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.02471, allocations: 1.305 MB / 380.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.02485, allocations: 16.17 kB / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.02488, allocations: 19.98 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.02506, allocations: 141.7 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.02512, allocations: 23.89 kB / 380.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.02541, allocations: 146.9 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02541, allocations: 0 / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.02541, allocations: 0 / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.02542, allocations: 4 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.02619, allocations: 419.7 kB / 381.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02619, allocations: 4.062 kB / 381.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.02637, allocations: 31.92 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.02638, allocations: 4 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.02639, allocations: 4 kB / 381.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.02762, allocations: 1.29 MB / 382.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02763, allocations: 0 / 382.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.02807, allocations: 310.1 kB / 383 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.02812, allocations: 19.84 kB / 383.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.02814, allocations: 4 kB / 383.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.02823, allocations: 0 / 383.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.02828, allocations: 19.91 kB / 383.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.02829, allocations: 4 kB / 383.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.02844, allocations: 133.2 kB / 383.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02844, allocations: 0 / 383.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004107/0.02885, allocations: 51.89 kB / 383.3 MB, free: 12.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.02901, allocations: 107.2 kB / 383.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.02941, allocations: 127.8 kB / 383.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.02941, allocations: 0 / 383.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.02958, allocations: 55.91 kB / 383.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.03002, allocations: 37.81 kB / 383.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.03117, allocations: 486.4 kB / 384.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.03162, allocations: 128.9 kB / 384.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.03174, allocations: 29.47 kB / 384.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.0318, allocations: 16.5 kB / 384.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.03181, allocations: 0 / 384.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of Templates: time 0.005654/0.03746, allocations: 1.37 MB / 385.6 MB, free: 9.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.616373655968346]