Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 169.3 kB / 8.038 MB, free: 1.047 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 91.8 kB / 280.9 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04948/0.04948, allocations: 8.095 MB / 339.8 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.694e-05, allocations: 3.844 kB / 398.5 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 52.52 MB / 451 MB, free: 5.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.224, allocations: 78.63 MB / 0.5172 GB, free: 6.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.2242, allocations: 67.95 kB / 0.5173 GB, free: 6.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2877/0.5119, allocations: 11.46 MB / 0.5285 GB, free: 77.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5119, allocations: 0 / 0.5285 GB, free: 77.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.512, allocations: 6.438 kB / 0.5285 GB, free: 77.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003099/0.5151, allocations: 0.7793 MB / 0.5292 GB, free: 77.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.283e-05/0.5152, allocations: 13.55 kB / 0.5292 GB, free: 77.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.5153, allocations: 44.98 kB / 0.5293 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.516, allocations: 336.9 kB / 0.5296 GB, free: 77.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.5161, allocations: 8.062 kB / 0.5296 GB, free: 77.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.5162, allocations: 18.86 kB / 0.5296 GB, free: 77.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001037/0.5172, allocations: 389.1 kB / 0.53 GB, free: 77.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.5182, allocations: 376.2 kB / 0.5304 GB, free: 77.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5182, allocations: 2.625 kB / 0.5304 GB, free: 77.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.5183, allocations: 1.125 kB / 0.5304 GB, free: 77.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.5183, allocations: 10.77 kB / 0.5304 GB, free: 77.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.5218, allocations: 1.592 MB / 0.5319 GB, free: 76.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.5236, allocations: 0.5084 MB / 0.5324 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.5243, allocations: 260.5 kB / 0.5327 GB, free: 76.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.5246, allocations: 86.39 kB / 0.5328 GB, free: 76.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.5247, allocations: 37.69 kB / 0.5328 GB, free: 76.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/0.5247, allocations: 0 / 0.5328 GB, free: 76.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003704/0.5284, allocations: 0.8305 MB / 0.5336 GB, free: 76.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.5284, allocations: 56.16 kB / 0.5337 GB, free: 76.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.5289, allocations: 258.6 kB / 0.5339 GB, free: 76.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.529, allocations: 27.92 kB / 0.5339 GB, free: 76.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.5291, allocations: 170.5 kB / 0.5341 GB, free: 75.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.5293, allocations: 147.7 kB / 0.5342 GB, free: 75.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.5293, allocations: 0 / 0.5342 GB, free: 75.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5294, allocations: 342.5 kB / 0.5346 GB, free: 75.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.5299, allocations: 214.6 kB / 0.5348 GB, free: 75.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.5305, allocations: 221.1 kB / 0.535 GB, free: 75.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5315, allocations: 261.9 kB / 0.5352 GB, free: 75.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5316, allocations: 0 / 0.5352 GB, free: 75.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003612/0.5352, allocations: 0.89 MB / 0.5361 GB, free: 75.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.5352, allocations: 5.219 kB / 0.5361 GB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5353, allocations: 1.031 kB / 0.5361 GB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.5378, allocations: 403.1 kB / 0.5365 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.5383, allocations: 60.98 kB / 0.5365 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/0.5454, allocations: 5.407 MB / 0.5418 GB, free: 71.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.546, allocations: 27.12 kB / 0.5418 GB, free: 71.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.5461, allocations: 16.89 kB / 0.5419 GB, free: 71.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.5463, allocations: 112.8 kB / 0.542 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5465, allocations: 34.78 kB / 0.542 GB, free: 71.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/0.55, allocations: 0.9302 MB / 0.5429 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.55, allocations: 4.188 kB / 0.5429 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.55, allocations: 4 kB / 0.5429 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.55, allocations: 3.703 kB / 0.5429 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.5509, allocations: 0.5586 MB / 0.5435 GB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.551, allocations: 0 / 0.5435 GB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.5513, allocations: 62.91 kB / 0.5435 GB, free: 70.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.5537, allocations: 392.1 kB / 0.5439 GB, free: 70.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.5537, allocations: 3.656 kB / 0.5439 GB, free: 70.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00716/0.5609, allocations: 5.421 MB / 0.5492 GB, free: 65.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.561, allocations: 3.781 kB / 0.5492 GB, free: 65.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.5645, allocations: 0.9506 MB / 0.5501 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.5648, allocations: 132.3 kB / 0.5503 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.5649, allocations: 4 kB / 0.5503 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.5656, allocations: 23.22 kB / 0.5503 GB, free: 64.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5658, allocations: 38.55 kB / 0.5503 GB, free: 64.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.5659, allocations: 19.69 kB / 0.5503 GB, free: 64.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003293/0.5662, allocations: 205.6 kB / 0.5505 GB, free: 64.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5662, allocations: 0 / 0.5505 GB, free: 64.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001099/0.5673, allocations: 143.9 kB / 0.5507 GB, free: 64.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.5676, allocations: 117.8 kB / 0.5508 GB, free: 64.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.57, allocations: 0.9536 MB / 0.5517 GB, free: 63.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.57, allocations: 3.938 kB / 0.5517 GB, free: 63.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.5716, allocations: 0.7 MB / 0.5524 GB, free: 62.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.5722, allocations: 28.45 kB / 0.5524 GB, free: 62.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.5737, allocations: 484 kB / 0.5529 GB, free: 62.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.574, allocations: 0.8072 MB / 0.5537 GB, free: 61.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.5743, allocations: 47.23 kB / 0.5537 GB, free: 61.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.5744, allocations: 39.41 kB / 0.5538 GB, free: 61.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5744, allocations: 0 / 0.5538 GB, free: 61.33 MB / 362.7 MB Notification: Performance of Templates: time 0.01525/0.5897, allocations: 8.948 MB / 0.5625 GB, free: 52.45 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)