Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.0009628/0.0009628, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002186, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009189/0.0009189, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009568/0.001876, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8984/0.8984, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08573/0.9841, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1365/0.1365, allocations: 29.43 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/0.2387, allocations: 9.519 MB / 282.9 MB, free: 12.83 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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.245e-06/9.578e-06, allocations: 4.141 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004028/0.004038, allocations: 4.901 MB / 289.1 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.005953, allocations: 2.024 MB / 291.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.0061, allocations: 17.88 kB / 291.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.006655, allocations: 425.6 kB / 291.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006067/0.007261, allocations: 0.5283 MB / 292.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.007612, allocations: 279.9 kB / 292.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000562/0.008174, allocations: 0.7749 MB / 293.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.008491, allocations: 296.9 kB / 293.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.008952, allocations: 467.4 kB / 293.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.009304, allocations: 315.2 kB / 294.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.009347, allocations: 37.59 kB / 294.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.009951, allocations: 0.5408 MB / 294.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.0101, allocations: 202.6 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.01022, allocations: 143.8 kB / 295.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.01085, allocations: 0.6035 MB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.01086, allocations: 0 / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01086, allocations: 0 / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.01087, allocations: 0 / 295.7 MB, free: 3.25 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009624/0.01183, allocations: 0.8269 MB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.441e-05/0.01186, allocations: 8.031 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.01294, allocations: 353.6 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.01323, allocations: 288.4 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01325, allocations: 33.36 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.0133, allocations: 44.36 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.01365, allocations: 388.5 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01367, allocations: 3.953 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.01369, allocations: 19.98 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.01373, allocations: 32.98 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.01397, allocations: 201.6 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.01533, allocations: 1.534 MB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.01555, allocations: 246.3 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.01564, allocations: 93.52 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.01566, allocations: 8 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.01568, allocations: 42.34 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.01569, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001621/0.01731, allocations: 0.8253 MB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.01734, allocations: 85.23 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01748, allocations: 236.9 kB / 300.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.0175, allocations: 29.7 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.01758, allocations: 220.9 kB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.01765, allocations: 162.6 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.01773, allocations: 86.09 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.01783, allocations: 350.7 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01793, allocations: 47.81 kB / 301.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.0181, allocations: 169.8 kB / 302 MB, free: 12.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.01841, allocations: 274.8 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01841, allocations: 4 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004285/0.01884, allocations: 359.7 kB / 302.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01885, allocations: 8.062 kB / 302.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01886, allocations: 4 kB / 302.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.01918, allocations: 153 kB / 302.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.01943, allocations: 107.9 kB / 302.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.02092, allocations: 1.923 MB / 304.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.02103, allocations: 12 kB / 304.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.02105, allocations: 16.11 kB / 304.8 MB, free: 9.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.02116, allocations: 144.5 kB / 305 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.0212, allocations: 31.97 kB / 305 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.0216, allocations: 347.7 kB / 305.3 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.0216, allocations: 4 kB / 305.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.0216, allocations: 0 / 305.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.02161, allocations: 0 / 305.3 MB, free: 9.102 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/0.02243, allocations: 0.7688 MB / 306.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.02244, allocations: 4 kB / 306.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.02265, allocations: 95.81 kB / 306.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.02268, allocations: 43.81 kB / 306.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.02292, allocations: 122.3 kB / 306.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.02294, allocations: 15.98 kB / 306.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.02414, allocations: 1.818 MB / 308.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.02414, allocations: 4 kB / 308.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.02462, allocations: 0.5385 MB / 308.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.02464, allocations: 15.98 kB / 308.8 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.02473, allocations: 8 kB / 308.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.02478, allocations: 31.94 kB / 308.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.02479, allocations: 15.94 kB / 308.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.02485, allocations: 78.77 kB / 308.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02485, allocations: 0 / 308.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.02519, allocations: 136 kB / 309 MB, free: 5.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 8.802e-05/0.02528, allocations: 96.44 kB / 309.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.02575, allocations: 435.1 kB / 309.5 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.02576, allocations: 7.984 kB / 309.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.02603, allocations: 314 kB / 309.9 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.0263, allocations: 100 kB / 310 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.03827, allocations: 0.8889 MB / 310.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.03843, allocations: 154.2 kB / 311 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.03862, allocations: 39.28 kB / 311 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.03879, allocations: 103.3 kB / 311.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of SimCode: time 1.613e-06/0.03879, allocations: 0 / 311.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of Templates: time 0.01366/0.05246, allocations: 5.92 MB / 317.1 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.643574089743197]