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.0006523/0.0006523, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001522, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006764/0.0006764, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008606/0.001537, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9406/0.9406, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0893/1.03, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.1159/0.1159, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1592/0.2751, allocations: 9.524 MB / 283.1 MB, free: 12.82 MB / 282.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 1.553e-06/1.553e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.793e-05, allocations: 2.312 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.00705/0.007068, allocations: 4.919 MB / 289.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.00943, allocations: 1.146 MB / 290.5 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.009738, allocations: 26.38 kB / 290.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.009948, allocations: 74.84 kB / 290.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006949/0.01064, allocations: 301.7 kB / 290.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.01101, allocations: 144 kB / 291 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01206, allocations: 0.7195 MB / 291.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.01231, allocations: 123.3 kB / 291.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.01326, allocations: 0.5287 MB / 292.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.01374, allocations: 228 kB / 292.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.0138, allocations: 35.69 kB / 292.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.01388, allocations: 31.25 kB / 292.7 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01401, allocations: 150.2 kB / 292.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.01444, allocations: 140.4 kB / 292.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.01482, allocations: 319.8 kB / 293.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.01483, allocations: 1.406 kB / 293.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01483, allocations: 4 kB / 293.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.01484, allocations: 0 / 293.3 MB, free: 5.465 MB / 282.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.0008404/0.01568, allocations: 0.7751 MB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.01571, allocations: 9.312 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.01579, allocations: 65.47 kB / 294.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.01619, allocations: 370.2 kB / 294.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.01621, allocations: 29.38 kB / 294.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.01626, allocations: 40.12 kB / 294.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.01655, allocations: 315.6 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01657, allocations: 3.938 kB / 294.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.01659, allocations: 16 kB / 294.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01659, allocations: 12 kB / 294.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.01672, allocations: 109.2 kB / 295 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01775, allocations: 1.466 MB / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.01787, allocations: 107.6 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.01791, allocations: 34.64 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01792, allocations: 4 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.01798, allocations: 34.56 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.01798, allocations: 0 / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002272/0.0182, allocations: 145.6 kB / 296.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.01824, allocations: 106.9 kB / 296.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01846, allocations: 339.1 kB / 297.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.01847, allocations: 29.7 kB / 297.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01858, allocations: 252.9 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.01861, allocations: 59.52 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.01867, allocations: 57.62 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.01876, allocations: 350.7 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.01885, allocations: 23.98 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.01894, allocations: 162.4 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01908, allocations: 237.6 kB / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.01909, allocations: 4 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001667/0.01925, allocations: 197.6 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01927, allocations: 13.5 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01928, allocations: 7.984 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01929, allocations: 4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.01948, allocations: 87.84 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.0195, allocations: 11.98 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.01959, allocations: 27.78 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.0196, allocations: 12.38 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (36): * Single equations (assignments): 36 * 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 7.559e-05/0.01968, allocations: 128.6 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.01972, allocations: 35.84 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.01984, allocations: 121.2 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01985, allocations: 4 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01985, allocations: 0 / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01985, allocations: 0 / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.02003, allocations: 177.6 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.02004, allocations: 0 / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.02015, allocations: 42.5 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.02018, allocations: 43.64 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02018, allocations: 0 / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.02019, allocations: 4 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02019, allocations: 4 kB / 299.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02019, allocations: 4.016 kB / 299.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.02037, allocations: 306.1 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.0204, allocations: 11.94 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.02047, allocations: 4 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.02049, allocations: 7.984 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.02063, allocations: 7.984 kB / 299.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.081e-05/0.02072, allocations: 140.6 kB / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02072, allocations: 0 / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.02095, allocations: 87.78 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (17): * Single equations (assignments): 16 * 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 6.042e-05/0.02101, allocations: 76.42 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.02113, allocations: 126.7 kB / 300 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.02114, allocations: 4.188 kB / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.0212, allocations: 50.5 kB / 300.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.02178, allocations: 0.911 MB / 301 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.02677, allocations: 0.7877 MB / 301.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.02684, allocations: 129.2 kB / 301.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.969e-05/0.02694, allocations: 47.27 kB / 301.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.02708, allocations: 123.3 kB / 302.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02708, allocations: 0 / 302.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of Templates: time 0.005811/0.03289, allocations: 3.694 MB / 305.8 MB, free: 8.719 MB / 298.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: 2.604485973715782]