Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001294/0.001294, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009932/0.0009932, allocations: 161 kB / 24.56 MB, free: 20 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.285 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.2676/0.2676, allocations: 29.41 MB / 290.9 MB, free: 2.473 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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.668e-06/4.668e-06, allocations: 4 kB / 369.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.691e-05, allocations: 2.312 kB / 369.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006233/0.00627, allocations: 4.851 MB / 374.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.008394, allocations: 1.095 MB / 375.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.0087, allocations: 27.75 kB / 375.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.008974, allocations: 79.27 kB / 375.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.00981, allocations: 306.1 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.01015, allocations: 147.7 kB / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008108/0.01096, allocations: 0.716 MB / 376.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.01123, allocations: 117.2 kB / 376.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.01194, allocations: 414.8 kB / 377.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.01249, allocations: 303.2 kB / 377.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.01256, allocations: 32 kB / 377.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.01264, allocations: 36 kB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.01283, allocations: 175.5 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.01302, allocations: 163.6 kB / 378 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.01352, allocations: 350.6 kB / 378.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.01353, allocations: 4 kB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01353, allocations: 0 / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.01354, allocations: 0 / 378.4 MB, free: 2.227 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001265/0.0148, allocations: 0.8366 MB / 379.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.01486, allocations: 8.031 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.015, allocations: 88.59 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.01565, allocations: 403.6 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.01567, allocations: 29.38 kB / 379.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.01574, allocations: 44.06 kB / 379.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.01627, allocations: 363.9 kB / 380.1 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01629, allocations: 4 kB / 380.1 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.01632, allocations: 16 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.01634, allocations: 8 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.01665, allocations: 152.7 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.01848, allocations: 1.991 MB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.0187, allocations: 137.1 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.01878, allocations: 55.16 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.0188, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.01884, allocations: 37.38 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.755e-06/0.01884, allocations: 0 / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009372/0.01978, allocations: 0.5193 MB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.01983, allocations: 110.8 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.02017, allocations: 398.5 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.02019, allocations: 29.7 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.02038, allocations: 334.8 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.02043, allocations: 67.47 kB / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.02051, allocations: 67.31 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.02069, allocations: 0.5157 MB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.02076, allocations: 36.03 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.02094, allocations: 232.8 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.02123, allocations: 292.8 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.02124, allocations: 4 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003883/0.02163, allocations: 277.8 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.02165, allocations: 4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02166, allocations: 8 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.02168, allocations: 4 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.02191, allocations: 71.91 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.02192, allocations: 15.92 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.02207, allocations: 11.94 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02209, allocations: 12 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001252/0.02222, allocations: 180.4 kB / 385.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.02229, allocations: 51.83 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.02254, allocations: 148.8 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.02254, allocations: 4 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02255, allocations: 0 / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02255, allocations: 3.984 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.02312, allocations: 492.8 kB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.02313, allocations: 3.984 kB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.02328, allocations: 35.98 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.02328, allocations: 7.984 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.0233, allocations: 0 / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.0233, allocations: 11.97 kB / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.0233, allocations: 0 / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.02368, allocations: 466.1 kB / 386.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.02373, allocations: 27.77 kB / 386.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.02376, allocations: 8 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.0239, allocations: 0 / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.02394, allocations: 19.91 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.02395, allocations: 8 kB / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.02415, allocations: 251.1 kB / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02415, allocations: 0 / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.02457, allocations: 79.94 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001036/0.02467, allocations: 95.25 kB / 387.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.02491, allocations: 132.6 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02491, allocations: 0 / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.56e-05/0.025, allocations: 63.56 kB / 387.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.02561, allocations: 93.42 kB / 387.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.02734, allocations: 0.8066 MB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.02745, allocations: 129.2 kB / 388.6 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.0276, allocations: 51.25 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.02766, allocations: 32.5 kB / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02767, allocations: 0 / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of Templates: time 0.007249/0.03491, allocations: 3.274 MB / 391.9 MB, free: 4.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.226162406615913]