Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 110.5 kB / 17.74 MB, free: 5.328 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.002248/0.002248, allocations: 187 kB / 18.68 MB, free: 4.398 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.327/1.327, 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.1729/0.1729, allocations: 38.03 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2985, allocations: 58.06 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003996/0.3025, allocations: 3.461 MB / 0.5081 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3043, allocations: 1.499 MB / 0.5096 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3044, allocations: 8.844 kB / 0.5096 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.3051, allocations: 261.8 kB / 0.5099 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.3057, allocations: 287.4 kB / 0.5101 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.306, allocations: 126.2 kB / 0.5103 GB, free: 4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3063, allocations: 344.9 kB / 0.5106 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.3066, allocations: 135.8 kB / 0.5107 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3068, allocations: 155.1 kB / 0.5109 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3071, allocations: 156.5 kB / 0.511 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3071, allocations: 13.53 kB / 0.511 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.3076, allocations: 334 kB / 0.5113 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3077, allocations: 102.5 kB / 0.5114 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3079, allocations: 104.2 kB / 0.5115 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3083, allocations: 361.3 kB / 0.5119 GB, free: 3.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3084, allocations: 1.781 kB / 0.5119 GB, free: 3.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3084, allocations: 4 kB / 0.5119 GB, free: 3.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3084, allocations: 0 / 0.5119 GB, free: 3.312 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005756/0.309, allocations: 0.5089 MB / 0.5124 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.309, allocations: 12.89 kB / 0.5124 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.3099, allocations: 94.3 kB / 0.5125 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3102, allocations: 273.6 kB / 0.5128 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3102, allocations: 16 kB / 0.5128 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.3103, allocations: 23.3 kB / 0.5128 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.3107, allocations: 312.1 kB / 0.5131 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3108, allocations: 0.9375 kB / 0.5131 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3108, allocations: 10.38 kB / 0.5131 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.3108, allocations: 25.16 kB / 0.5131 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.3113, allocations: 288.8 kB / 0.5134 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.3127, allocations: 1.273 MB / 0.5146 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3131, allocations: 232.2 kB / 0.5149 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3133, allocations: 100.5 kB / 0.515 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3133, allocations: 5.609 kB / 0.515 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3134, allocations: 37.34 kB / 0.515 GB, free: 1.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3134, allocations: 0 / 0.515 GB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007764/0.3142, allocations: 440.8 kB / 0.5154 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.3142, allocations: 83.8 kB / 0.5155 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3144, allocations: 204.7 kB / 0.5157 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3144, allocations: 30.8 kB / 0.5157 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3145, allocations: 165.3 kB / 0.5159 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3145, allocations: 57.11 kB / 0.5159 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.3146, allocations: 51.78 kB / 0.516 GB, free: 464 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.3146, allocations: 329.2 kB / 0.5163 GB, free: 136 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3148, allocations: 85.44 kB / 0.5164 GB, free: 108 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.315, allocations: 154.9 kB / 0.5165 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3153, allocations: 262.9 kB / 0.5168 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3153, allocations: 1.219 kB / 0.5168 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000456/0.3158, allocations: 298.3 kB / 0.5171 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3158, allocations: 5.969 kB / 0.5171 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3158, allocations: 2.312 kB / 0.5171 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3158, allocations: 7.438 kB / 0.5171 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.3161, allocations: 57.78 kB / 0.5171 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3161, allocations: 3.594 kB / 0.5171 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.3163, allocations: 14.84 kB / 0.5172 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3163, allocations: 9.781 kB / 0.5172 GB, free: 15.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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 0.0001567/0.3165, allocations: 162.6 kB / 0.5173 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.3165, allocations: 20.66 kB / 0.5173 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.317, allocations: 223.1 kB / 0.5175 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.317, allocations: 6.188 kB / 0.5176 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.317, allocations: 4.844 kB / 0.5176 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.317, allocations: 95.11 kB / 0.5176 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3171, allocations: 6.328 kB / 0.5177 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3172, allocations: 11.42 kB / 0.5177 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3173, allocations: 13 kB / 0.5177 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005209/0.3178, allocations: 372.5 kB / 0.518 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004519/0.3183, allocations: 466 kB / 0.5185 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000127/0.3184, allocations: 83.31 kB / 0.5186 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3186, allocations: 149.7 kB / 0.5187 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3186, allocations: 4 kB / 0.5187 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009805/0.3195, allocations: 379.8 kB / 0.5191 GB, free: 14.42 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008632/0.3204, allocations: 0.8609 MB / 0.5199 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.007191/0.3276, allocations: 3.474 MB / 0.5233 GB, free: 13.34 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)