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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001523/0.001523, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001762/0.001762, allocations: 183 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1726/0.1726, allocations: 38.04 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.14 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3102, allocations: 58.08 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003901/0.3142, allocations: 3.299 MB / 0.508 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3155, allocations: 1.224 MB / 0.5092 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3157, allocations: 13.47 kB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.3162, allocations: 151.9 kB / 0.5093 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.3166, allocations: 179.8 kB / 0.5095 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3168, allocations: 133.6 kB / 0.5096 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.3172, allocations: 284.9 kB / 0.5099 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.3174, allocations: 127 kB / 0.51 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3176, allocations: 127.2 kB / 0.5102 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3178, allocations: 106.7 kB / 0.5103 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3178, allocations: 16.81 kB / 0.5103 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.3182, allocations: 227.8 kB / 0.5105 GB, free: 4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.3183, allocations: 60.09 kB / 0.5105 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.3184, allocations: 103.2 kB / 0.5106 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.3188, allocations: 287.3 kB / 0.5109 GB, free: 3.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3188, allocations: 1.031 kB / 0.5109 GB, free: 3.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3188, allocations: 0 / 0.5109 GB, free: 3.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3188, allocations: 0 / 0.5109 GB, free: 3.809 MB / 382.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.0005212/0.3193, allocations: 0.5173 MB / 0.5114 GB, free: 3.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3194, allocations: 13.27 kB / 0.5114 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.32, allocations: 77.62 kB / 0.5115 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.3203, allocations: 263.7 kB / 0.5118 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3203, allocations: 15.69 kB / 0.5118 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.3203, allocations: 16.42 kB / 0.5118 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3207, allocations: 274.3 kB / 0.5121 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3208, allocations: 1.156 kB / 0.5121 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3208, allocations: 14.3 kB / 0.5121 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.3208, allocations: 16.72 kB / 0.5121 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.3212, allocations: 227.8 kB / 0.5123 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.3225, allocations: 1.202 MB / 0.5135 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3227, allocations: 131.7 kB / 0.5136 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.3228, allocations: 54.69 kB / 0.5137 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3228, allocations: 1.094 kB / 0.5137 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3228, allocations: 37.45 kB / 0.5137 GB, free: 1.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/0.3228, allocations: 0 / 0.5137 GB, free: 1.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000317/0.3231, allocations: 170.2 kB / 0.5139 GB, free: 1.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.3232, allocations: 78.73 kB / 0.5139 GB, free: 1.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3233, allocations: 210.4 kB / 0.5141 GB, free: 1.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3234, allocations: 26.77 kB / 0.5142 GB, free: 1.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3234, allocations: 158.6 kB / 0.5143 GB, free: 1.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3235, allocations: 45.52 kB / 0.5143 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.3235, allocations: 43.84 kB / 0.5144 GB, free: 1.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.3236, allocations: 328.5 kB / 0.5147 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.3237, allocations: 45.92 kB / 0.5147 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.3238, allocations: 123.5 kB / 0.5149 GB, free: 0.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3239, allocations: 180.8 kB / 0.515 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.324, allocations: 1.25 kB / 0.515 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002676/0.3242, allocations: 203.9 kB / 0.5152 GB, free: 432 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3242, allocations: 11.67 kB / 0.5152 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3243, allocations: 6.344 kB / 0.5153 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3243, allocations: 4.031 kB / 0.5153 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3245, allocations: 56.84 kB / 0.5153 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008823/0.3254, allocations: 1.411 MB / 0.5167 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3255, allocations: 26.09 kB / 0.5167 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3256, allocations: 12.56 kB / 0.5167 GB, free: 14.93 MB / 398.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.0001293/0.3257, allocations: 145.5 kB / 0.5169 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3257, allocations: 16.91 kB / 0.5169 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.326, allocations: 147.8 kB / 0.517 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.326, allocations: 1.859 kB / 0.517 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.326, allocations: 0 / 0.517 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.3261, allocations: 96.52 kB / 0.5171 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3261, allocations: 6.344 kB / 0.5171 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.3262, allocations: 0.8906 kB / 0.5171 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3262, allocations: 10.94 kB / 0.5171 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004555/0.3267, allocations: 331.4 kB / 0.5174 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003945/0.3271, allocations: 435.6 kB / 0.5179 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.07e-05/0.3272, allocations: 50.53 kB / 0.5179 GB, free: 13.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3274, allocations: 151.9 kB / 0.5181 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3274, allocations: 0 / 0.5181 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.3284, allocations: 295 kB / 0.5183 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 0.001059/0.3294, allocations: 0.9519 MB / 0.5193 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Templates: time 0.006359/0.3358, allocations: 2.51 MB / 0.5217 GB, free: 12.69 MB / 398.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)