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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1826/0.1826, allocations: 37.98 MB / 309.9 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08981, allocations: 55.25 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004827/0.09467, allocations: 3.328 MB / 491.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.09654, allocations: 1.264 MB / 492.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.09675, allocations: 7.938 kB / 492.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.09738, allocations: 163.3 kB / 492.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.09784, allocations: 179.2 kB / 492.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.09819, allocations: 123.7 kB / 492.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.09856, allocations: 290.9 kB / 493.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.09882, allocations: 118.2 kB / 493.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.09906, allocations: 127.5 kB / 493.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.09925, allocations: 111.5 kB / 493.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.09928, allocations: 16 kB / 493.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.09965, allocations: 227.4 kB / 493.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.748e-05/0.09975, allocations: 59.81 kB / 493.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.09986, allocations: 95.48 kB / 493.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.1003, allocations: 287.1 kB / 494.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1003, allocations: 0 / 494.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1003, allocations: 0 / 494.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1003, allocations: 3.938 kB / 494.1 MB, free: 1.93 MB / 366.1 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.0006682/0.101, allocations: 0.4951 MB / 494.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.101, allocations: 15.89 kB / 494.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.1017, allocations: 76.58 kB / 494.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1021, allocations: 263.8 kB / 495 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1021, allocations: 12.7 kB / 495 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1022, allocations: 20.38 kB / 495 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.1026, allocations: 268 kB / 495.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1027, allocations: 0 / 495.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1027, allocations: 11.98 kB / 495.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.1027, allocations: 16.31 kB / 495.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.1031, allocations: 216.4 kB / 495.5 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.1047, allocations: 1.21 MB / 496.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.105, allocations: 133.1 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.1051, allocations: 53.83 kB / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1051, allocations: 4 kB / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1051, allocations: 38.5 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.1051, allocations: 3.938 kB / 497 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003302/0.1055, allocations: 173.3 kB / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1055, allocations: 77.11 kB / 497.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1057, allocations: 203 kB / 497.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1057, allocations: 29.7 kB / 497.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.1058, allocations: 147.9 kB / 497.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.1059, allocations: 47.36 kB / 497.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.1059, allocations: 41.83 kB / 497.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.106, allocations: 330.8 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.1061, allocations: 43.83 kB / 498 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1063, allocations: 122.3 kB / 498.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.1065, allocations: 182.1 kB / 498.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1065, allocations: 0 / 498.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002974/0.1068, allocations: 209.7 kB / 498.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1068, allocations: 7.984 kB / 498.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1068, allocations: 4 kB / 498.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1069, allocations: 4 kB / 498.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1071, allocations: 51.86 kB / 498.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009538/0.1081, allocations: 1.424 MB / 0.4883 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1082, allocations: 23.69 kB / 0.4883 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1082, allocations: 8 kB / 0.4883 GB, free: 11.51 MB / 382.1 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.0001216/0.1083, allocations: 153.8 kB / 0.4885 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.1084, allocations: 15.81 kB / 0.4885 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1086, allocations: 143 kB / 0.4886 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1086, allocations: 7.922 kB / 0.4886 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1087, allocations: 0 / 0.4886 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1087, allocations: 92.86 kB / 0.4887 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1087, allocations: 4 kB / 0.4887 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.1089, allocations: 4 kB / 0.4887 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1089, allocations: 11.92 kB / 0.4887 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004393/0.1093, allocations: 328.9 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003454/0.1097, allocations: 429.9 kB / 0.4895 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.491e-05/0.1098, allocations: 52.05 kB / 0.4895 GB, free: 10.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1099, allocations: 152.4 kB / 0.4897 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Backend: time 2.81e-07/0.1099, allocations: 3.938 kB / 0.4897 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000861/0.1108, allocations: 286.1 kB / 0.4899 GB, free: 9.781 MB / 382.1 MB Notification: Performance of SimCode: time 0.001083/0.1119, allocations: 0.9651 MB / 0.4909 GB, free: 8.773 MB / 382.1 MB Notification: Performance of Templates: time 0.005928/0.1178, allocations: 2.502 MB / 0.4933 GB, free: 6.27 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile (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)