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 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.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.0009168/0.0009172, allocations: 94.77 kB / 16.3 MB, free: 5.992 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.0009475/0.0009476, allocations: 185.6 kB / 17.19 MB, free: 5.906 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.566/1.566, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1766/0.1766, allocations: 38.04 MB / 309.7 MB, free: 6.125 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.0005933/0.0005934, allocations: 23.94 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2895, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003019/0.2925, allocations: 3.135 MB / 435.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.294, allocations: 1.44 MB / 437.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2942, allocations: 11.94 kB / 437.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2943, allocations: 43.73 kB / 437.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.2948, allocations: 175.4 kB / 437.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.295, allocations: 103.7 kB / 437.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2952, allocations: 155.6 kB / 437.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.2957, allocations: 313 kB / 438.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2959, allocations: 103.7 kB / 438.3 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.296, allocations: 87.66 kB / 438.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2961, allocations: 8 kB / 438.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.2963, allocations: 167.7 kB / 438.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.2964, allocations: 83.78 kB / 438.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.2965, allocations: 61.58 kB / 438.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2967, allocations: 259.4 kB / 438.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2967, allocations: 0 / 438.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2967, allocations: 0 / 438.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2967, allocations: 0 / 438.9 MB, free: 12.7 MB / 318.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.0005497/0.2973, allocations: 486.5 kB / 439.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2973, allocations: 8.031 kB / 439.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.2982, allocations: 107.5 kB / 439.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2985, allocations: 258.5 kB / 439.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2985, allocations: 16 kB / 439.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.2986, allocations: 16 kB / 439.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.2991, allocations: 317.6 kB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2992, allocations: 0 / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2992, allocations: 8 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.2993, allocations: 19.98 kB / 440.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.2996, allocations: 287.7 kB / 440.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3012, allocations: 1.279 MB / 441.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3016, allocations: 229.1 kB / 441.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3017, allocations: 3.984 kB / 441.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3017, allocations: 42.62 kB / 442 MB, free: 9.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3017, allocations: 0 / 442 MB, free: 9.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007431/0.3024, allocations: 441.2 kB / 442.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3025, allocations: 85.05 kB / 442.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3026, allocations: 198.2 kB / 442.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3027, allocations: 29.7 kB / 442.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3027, allocations: 155.9 kB / 442.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.3028, allocations: 63.23 kB / 442.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.3028, allocations: 0 / 442.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.3029, allocations: 334.8 kB / 443.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.303, allocations: 83.95 kB / 443.3 MB, free: 8.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3032, allocations: 152.5 kB / 443.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3033, allocations: 115.9 kB / 443.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3033, allocations: 0 / 443.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003181/0.3036, allocations: 297.1 kB / 443.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3037, allocations: 4 kB / 443.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3037, allocations: 4 kB / 443.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3037, allocations: 4 kB / 443.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.304, allocations: 55.91 kB / 443.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.304, allocations: 4 kB / 443.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3041, allocations: 11.98 kB / 443.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3042, allocations: 20.2 kB / 444 MB, free: 7.316 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3043, allocations: 153.8 kB / 444.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.3043, allocations: 19.77 kB / 444.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.3047, allocations: 238.1 kB / 444.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3047, allocations: 0 / 444.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3047, allocations: 4 kB / 444.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3047, allocations: 0 / 444.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3058, allocations: 0.9477 MB / 445.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3058, allocations: 7.938 kB / 445.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.306, allocations: 43.91 kB / 445.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.306, allocations: 4 kB / 445.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.306, allocations: 11.95 kB / 445.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.306, allocations: 4.5 kB / 445.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3061, allocations: 7.938 kB / 445.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3065, allocations: 0.594 MB / 446 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3065, allocations: 96.91 kB / 446.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3066, allocations: 12 kB / 446.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.3067, allocations: 11.98 kB / 446.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.3068, allocations: 27.88 kB / 446.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3068, allocations: 12 kB / 446.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.307, allocations: 147 kB / 446.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.307, allocations: 0 / 446.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3073, allocations: 52 kB / 446.3 MB, free: 4.641 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.3074, allocations: 111.1 kB / 446.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3077, allocations: 211.7 kB / 446.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3078, allocations: 0 / 446.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3079, allocations: 101.1 kB / 446.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3083, allocations: 47.88 kB / 446.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.3091, allocations: 0.6465 MB / 447.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3093, allocations: 0.7674 MB / 448.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.3094, allocations: 57.48 kB / 448.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.3095, allocations: 23.38 kB / 448.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3095, allocations: 3.938 kB / 448.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Templates: time 0.004419/0.3139, allocations: 1.688 MB / 450 MB, free: 0.8867 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: