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.0006915/0.0006915, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009569/0.001648, 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.0009675/0.0009675, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002208, 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.9197/0.9197, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07851/0.9982, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1114/0.1114, allocations: 29.42 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/0.2161, allocations: 9.525 MB / 283.1 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.824e-06/1.824e-06, allocations: 1.219 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.507e-06/1.133e-05, allocations: 2.312 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005876/0.005888, allocations: 4.922 MB / 289.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.008961, allocations: 2.025 MB / 291.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.009169, allocations: 16.72 kB / 291.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.01002, allocations: 434.7 kB / 291.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009796/0.011, allocations: 0.5278 MB / 292.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.01154, allocations: 277.1 kB / 292.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.01229, allocations: 0.7729 MB / 293.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.01271, allocations: 289.1 kB / 293.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006174/0.01332, allocations: 479.7 kB / 294.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.01379, allocations: 319.3 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.01384, allocations: 37.69 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.01457, allocations: 0.5326 MB / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.0148, allocations: 203.5 kB / 295.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.01501, allocations: 143.8 kB / 295.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.01567, allocations: 0.6035 MB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.01568, allocations: 0 / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01568, allocations: 4 kB / 296 MB, free: 3.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.01569, allocations: 0 / 296 MB, free: 3.133 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.0007247/0.01642, allocations: 0.8191 MB / 296.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.01644, allocations: 12.03 kB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.0173, allocations: 357.6 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.01758, allocations: 284.5 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.0176, allocations: 33.31 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.01765, allocations: 44.36 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.018, allocations: 388.5 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.01801, allocations: 3.953 kB / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01804, allocations: 16 kB / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.01808, allocations: 36.92 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.01832, allocations: 201.6 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.01969, allocations: 1.538 MB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.01991, allocations: 235.8 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.02, allocations: 93.52 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.02003, allocations: 4 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.02005, allocations: 46.28 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.02005, allocations: 0 / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001289/0.02134, allocations: 0.8411 MB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.02137, allocations: 81.11 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.02148, allocations: 236.9 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.02151, allocations: 33.7 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.02158, allocations: 216.9 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.02166, allocations: 158.6 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.02174, allocations: 94.02 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.02182, allocations: 342.8 kB / 302 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.02188, allocations: 55.8 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.02199, allocations: 164.8 kB / 302.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.02222, allocations: 294.8 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.02222, allocations: 0 / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003913/0.02262, allocations: 359.7 kB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.02263, allocations: 4 kB / 302.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.02263, allocations: 4 kB / 302.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.02295, allocations: 156.8 kB / 303 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.02318, allocations: 111.8 kB / 303.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.02458, allocations: 1.919 MB / 305 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.02468, allocations: 16.16 kB / 305.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.0247, allocations: 31.91 kB / 305.1 MB, free: 9.488 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 9.152e-05/0.02479, allocations: 132.6 kB / 305.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.02484, allocations: 35.97 kB / 305.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.02525, allocations: 349.5 kB / 305.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02525, allocations: 4 kB / 305.6 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02525, allocations: 4 kB / 305.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02526, allocations: 3.984 kB / 305.6 MB, free: 8.949 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.000786/0.02605, allocations: 0.7698 MB / 306.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02605, allocations: 0 / 306.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.02626, allocations: 100.6 kB / 306.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.02629, allocations: 31.77 kB / 306.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.02653, allocations: 132.7 kB / 306.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.02655, allocations: 12 kB / 306.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.0277, allocations: 1.816 MB / 308.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.0277, allocations: 3.984 kB / 308.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.02819, allocations: 0.5513 MB / 309 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.02821, allocations: 12 kB / 309 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.0283, allocations: 8 kB / 309 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.02835, allocations: 35.88 kB / 309.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.02836, allocations: 15.98 kB / 309.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.02841, allocations: 74.78 kB / 309.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02841, allocations: 0 / 309.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.02872, allocations: 136 kB / 309.3 MB, free: 5.094 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 (39): * Single equations (assignments): 37 * 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.201e-05/0.0288, allocations: 96.34 kB / 309.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.02927, allocations: 456.2 kB / 309.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.02928, allocations: 11.94 kB / 309.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.02957, allocations: 336 kB / 310.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.0299, allocations: 357.2 kB / 310.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.03778, allocations: 0.8726 MB / 311.4 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.03787, allocations: 154.2 kB / 311.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.03796, allocations: 39.27 kB / 311.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.03808, allocations: 111.3 kB / 311.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03808, allocations: 0 / 311.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Templates: time 0.007073/0.04516, allocations: 6.033 MB / 317.7 MB, free: 12.59 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.649748520925641]