Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 119.9 kB / 17.13 MB, free: 5.91 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.001714/0.001714, allocations: 192.1 kB / 18.06 MB, free: 4.996 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.298/1.298, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04311/0.04311, allocations: 8.101 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.91 kB / 415.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.08153, allocations: 51.52 MB / 466.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002012/0.08358, allocations: 1.057 MB / 467.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.08521, allocations: 1.458 MB / 469.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.08527, allocations: 0 / 469.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.08558, allocations: 107.5 kB / 469.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.08584, allocations: 75.53 kB / 469.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.08724, allocations: 0.8866 MB / 470.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.08743, allocations: 103.5 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.08755, allocations: 37.08 kB / 470.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.08761, allocations: 39.86 kB / 470.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.08769, allocations: 63.69 kB / 470.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.08772, allocations: 8 kB / 470.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.08807, allocations: 207.8 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.0881, allocations: 19.94 kB / 470.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.08816, allocations: 63.66 kB / 470.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.08851, allocations: 275.3 kB / 471.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.08852, allocations: 0 / 471.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08853, allocations: 0 / 471.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.08854, allocations: 0 / 471.1 MB, free: 13.74 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001887/0.09043, allocations: 0.6434 MB / 471.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.09047, allocations: 11.89 kB / 471.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.09053, allocations: 12.84 kB / 471.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.0907, allocations: 204.1 kB / 471.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.09072, allocations: 8.375 kB / 471.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.09076, allocations: 12.38 kB / 471.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.09102, allocations: 162.4 kB / 472.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.09104, allocations: 192 / 472.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.09107, allocations: 15.94 kB / 472.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.09108, allocations: 3.938 kB / 472.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.09127, allocations: 119.9 kB / 472.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.092, allocations: 492.3 kB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.09264, allocations: 186.5 kB / 472.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.09273, allocations: 44.86 kB / 472.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.09317, allocations: 462.2 kB / 473.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.09321, allocations: 38.56 kB / 473.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.09321, allocations: 0 / 473.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007693/0.09399, allocations: 295.4 kB / 473.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.09405, allocations: 81.11 kB / 473.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.09419, allocations: 165.5 kB / 474 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.09422, allocations: 29.7 kB / 474 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.09429, allocations: 115.8 kB / 474.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.09432, allocations: 31.55 kB / 474.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.09439, allocations: 49.61 kB / 474.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.09449, allocations: 322.8 kB / 474.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.09459, allocations: 63.91 kB / 474.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.09473, allocations: 118 kB / 474.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.09495, allocations: 165.1 kB / 474.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09496, allocations: 0 / 474.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005093/0.09548, allocations: 265.6 kB / 475.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.0955, allocations: 4 kB / 475.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.09551, allocations: 4 kB / 475.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.09592, allocations: 72.67 kB / 475.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.09608, allocations: 35.98 kB / 475.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.09732, allocations: 1.473 MB / 476.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.09748, allocations: 23.86 kB / 476.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.09751, allocations: 4 kB / 476.7 MB, free: 7.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.09762, allocations: 137.6 kB / 476.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.09767, allocations: 15.91 kB / 476.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.09814, allocations: 187.1 kB / 477 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.09816, allocations: 4 kB / 477 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.09816, allocations: 4.359 kB / 477 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.09817, allocations: 0 / 477 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.0984, allocations: 229.5 kB / 477.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.09842, allocations: 3.984 kB / 477.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.09849, allocations: 15.94 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.09883, allocations: 68.8 kB / 477.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.09885, allocations: 4 kB / 477.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.1, allocations: 1.473 MB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1, allocations: 3.984 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.1005, allocations: 276 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.1005, allocations: 84.95 kB / 479.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1006, allocations: 4 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1007, allocations: 12.05 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1007, allocations: 8 kB / 479.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1007, allocations: 0 / 479.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.1008, allocations: 120.9 kB / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 0 / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1012, allocations: 44 kB / 479.4 MB, free: 4.672 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.1013, allocations: 119.2 kB / 479.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.1019, allocations: 270.7 kB / 479.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1019, allocations: 0 / 479.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.1023, allocations: 186.8 kB / 479.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1025, allocations: 15.94 kB / 480 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.103, allocations: 283.8 kB / 480.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1033, allocations: 0.7006 MB / 480.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.1033, allocations: 23.42 kB / 481 MB, free: 3 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1033, allocations: 0 / 481 MB, free: 3 MB / 350.1 MB Notification: Performance of Templates: time 0.00421/0.1075, allocations: 2.387 MB / 483.3 MB, free: 0.6094 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)