Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0022/0.0022, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.715/1.715, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001686/0.001686, allocations: 129.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1687/0.1687, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.695e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.335, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.7518, allocations: 99.49 MB / 0.5373 GB, free: 33.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.7522, allocations: 92.52 kB / 0.5374 GB, free: 33.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04718/0.7994, allocations: 17.45 MB / 0.5545 GB, free: 30.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7994, allocations: 0 / 0.5545 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.618e-05/0.7995, allocations: 11.66 kB / 0.5545 GB, free: 30.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001888/0.8014, allocations: 0.7765 MB / 0.5552 GB, free: 30.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8014, allocations: 7.812 kB / 0.5553 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.8027, allocations: 146.1 kB / 0.5554 GB, free: 30.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.8063, allocations: 1.206 MB / 0.5566 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.8064, allocations: 35.05 kB / 0.5566 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.8066, allocations: 53.59 kB / 0.5567 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.8082, allocations: 0.8401 MB / 0.5575 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.8082, allocations: 11.78 kB / 0.5575 GB, free: 29.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.8083, allocations: 22.84 kB / 0.5575 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.8085, allocations: 32.16 kB / 0.5575 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.8094, allocations: 0.5828 MB / 0.5581 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.8203, allocations: 5.778 MB / 0.5638 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/0.8213, allocations: 0.7521 MB / 0.5645 GB, free: 27.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/0.822, allocations: 0.6392 MB / 0.5651 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-05/0.8221, allocations: 16.2 kB / 0.5651 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.8221, allocations: 38.53 kB / 0.5652 GB, free: 27.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.246e-06/0.8221, allocations: 0 / 0.5652 GB, free: 27.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01461/0.8367, allocations: 5.313 MB / 0.5704 GB, free: 26.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.8368, allocations: 84.92 kB / 0.5704 GB, free: 26.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.8373, allocations: 354.7 kB / 0.5708 GB, free: 26.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.8375, allocations: 36.23 kB / 0.5708 GB, free: 26.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.8377, allocations: 320.8 kB / 0.5711 GB, free: 26.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.838, allocations: 267.3 kB / 0.5714 GB, free: 26.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.8382, allocations: 10.44 kB / 0.5714 GB, free: 26.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.8383, allocations: 369.7 kB / 0.5717 GB, free: 25.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.8393, allocations: 0.7898 MB / 0.5725 GB, free: 25.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.8403, allocations: 0.9956 MB / 0.5735 GB, free: 25.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8414, allocations: 0.8988 MB / 0.5743 GB, free: 25.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8415, allocations: 0 / 0.5743 GB, free: 25.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01938/0.8609, allocations: 5.37 MB / 0.5796 GB, free: 24.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.8609, allocations: 7.875 kB / 0.5796 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01505/0.876, allocations: 4.247 MB / 0.5837 GB, free: 23.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01788/0.8939, allocations: 5.839 MB / 0.5894 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.8945, allocations: 121.6 kB / 0.5896 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.9089, allocations: 10.96 MB / 0.6003 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.9098, allocations: 59.73 kB / 0.6003 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.91, allocations: 162.5 kB / 0.6005 GB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.9103, allocations: 152.1 kB / 0.6006 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.9105, allocations: 51.34 kB / 0.6007 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.923, allocations: 4.056 MB / 0.6046 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/0.9231, allocations: 12 kB / 0.6046 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9231, allocations: 0 / 0.6046 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.9231, allocations: 7.984 kB / 0.6047 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.9379, allocations: 5.477 MB / 0.61 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.938, allocations: 4 kB / 0.61 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.9384, allocations: 55.91 kB / 0.6101 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02382/0.9623, allocations: 7.966 MB / 0.6178 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/0.9627, allocations: 239.8 kB / 0.6181 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/0.9814, allocations: 13.64 MB / 0.6314 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9814, allocations: 0 / 0.6314 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/0.9955, allocations: 4.527 MB / 0.6358 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.9958, allocations: 132.4 kB / 0.6359 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.9961, allocations: 187.9 kB / 0.6361 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.9967, allocations: 43.94 kB / 0.6361 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/0.9972, allocations: 140.2 kB / 0.6363 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/0.9974, allocations: 172 kB / 0.6364 GB, free: 10.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.9978, allocations: 269.2 kB / 0.6367 GB, free: 10.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9978, allocations: 0 / 0.6367 GB, free: 10.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001471/0.9993, allocations: 384 kB / 0.6371 GB, free: 9.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.9996, allocations: 171.3 kB / 0.6372 GB, free: 9.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004455/1.004, allocations: 2.387 MB / 0.6396 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.004, allocations: 0 / 0.6396 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.007, allocations: 1.562 MB / 0.6411 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/1.008, allocations: 122.5 kB / 0.6412 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/1.012, allocations: 3.272 MB / 0.6444 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/1.013, allocations: 0.9852 MB / 0.6454 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004045/1.013, allocations: 136.9 kB / 0.6455 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/1.014, allocations: 39.42 kB / 0.6455 GB, free: 1.066 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/1.014, allocations: 0 / 0.6455 GB, free: 1.066 MB / 410.7 MB Notification: Performance of Templates: time 0.04767/1.061, allocations: 33.09 MB / 0.6779 GB, free: 15.92 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)