Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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/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 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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003719/0.003719, allocations: 88.67 kB / 15.91 MB, free: 6.285 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.0009249/0.0009249, allocations: 197.3 kB / 16.83 MB, free: 6.215 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.213/1.213, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.149/0.149, allocations: 8.088 MB / 298.7 MB, free: 2.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 60.16 kB / 361 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08606, allocations: 51.53 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002557/0.08865, allocations: 1.816 MB / 414.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.09031, allocations: 1.571 MB / 415.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.09039, allocations: 4 kB / 415.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.0907, allocations: 123.5 kB / 416.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.09098, allocations: 131.3 kB / 416.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.09251, allocations: 1.039 MB / 417.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.09279, allocations: 266.6 kB / 417.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.09293, allocations: 76.47 kB / 417.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.09302, allocations: 111.5 kB / 417.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.09316, allocations: 131.4 kB / 417.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.0932, allocations: 12 kB / 417.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.09354, allocations: 243.7 kB / 418 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.09359, allocations: 43.83 kB / 418.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.0937, allocations: 131.3 kB / 418.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.09413, allocations: 451 kB / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.09414, allocations: 0 / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.09415, allocations: 0 / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.09416, allocations: 0 / 418.7 MB, free: 4.039 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003618/0.09779, allocations: 1.104 MB / 419.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.09783, allocations: 8.031 kB / 419.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.09791, allocations: 32.56 kB / 419.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.09816, allocations: 271.8 kB / 420.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.09819, allocations: 28.73 kB / 420.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.09824, allocations: 24.38 kB / 420.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.09875, allocations: 351.8 kB / 420.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.09877, allocations: 192 / 420.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.09881, allocations: 15.88 kB / 420.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.09882, allocations: 4 kB / 420.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.09923, allocations: 299.2 kB / 420.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1008, allocations: 1.346 MB / 422.1 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.1016, allocations: 382.9 kB / 422.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1019, allocations: 173.3 kB / 422.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.1026, allocations: 0.697 MB / 423.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1026, allocations: 38.8 kB / 423.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.1026, allocations: 0 / 423.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003365/0.106, allocations: 1.129 MB / 424.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1061, allocations: 110.8 kB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1063, allocations: 228.9 kB / 424.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1063, allocations: 29.7 kB / 424.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.1064, allocations: 148.5 kB / 425 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.1065, allocations: 102.6 kB / 425.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1066, allocations: 82.11 kB / 425.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.1067, allocations: 334.8 kB / 425.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.107, allocations: 188.8 kB / 425.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1073, allocations: 271.2 kB / 426 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.1079, allocations: 480.8 kB / 426.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1079, allocations: 3.938 kB / 426.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001919/0.1098, allocations: 0.8105 MB / 427.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1099, allocations: 8 kB / 427.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1099, allocations: 0 / 427.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.1117, allocations: 413.3 kB / 427.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.112, allocations: 71.91 kB / 427.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.1163, allocations: 3.717 MB / 431.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.1166, allocations: 47.53 kB / 431.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.1167, allocations: 12.22 kB / 431.5 MB, free: 6.398 MB / 366.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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.1168, allocations: 149.8 kB / 431.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.1169, allocations: 27.81 kB / 431.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.1189, allocations: 0.7281 MB / 432.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1189, allocations: 7.984 kB / 432.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1189, allocations: 7.875 kB / 432.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1189, allocations: 0 / 432.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.1193, allocations: 421.2 kB / 432.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1193, allocations: 0 / 432.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1194, allocations: 35.98 kB / 432.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.1213, allocations: 409.2 kB / 433.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.1213, allocations: 12 kB / 433.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.1254, allocations: 3.697 MB / 437 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1254, allocations: 3.984 kB / 437 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1432/0.2686, allocations: 0.7768 MB / 437.8 MB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.2687, allocations: 106.3 kB / 437.9 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.2687, allocations: 4.688 kB / 437.9 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.269, allocations: 23.38 kB / 437.9 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2691, allocations: 23.58 kB / 437.9 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.2691, allocations: 7.812 kB / 437.9 MB, free: 57.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2692, allocations: 167 kB / 438.1 MB, free: 57.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2693, allocations: 0 / 438.1 MB, free: 57.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.2697, allocations: 114 kB / 438.2 MB, free: 57.07 MB / 366.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.2699, allocations: 118.4 kB / 438.3 MB, free: 56.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2713, allocations: 0.7613 MB / 439.1 MB, free: 56.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2713, allocations: 0.5625 kB / 439.1 MB, free: 56.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.2722, allocations: 0.5153 MB / 439.6 MB, free: 56.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2725, allocations: 25.97 kB / 439.6 MB, free: 56.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.2733, allocations: 0.644 MB / 440.3 MB, free: 56.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2735, allocations: 0.7557 MB / 441 MB, free: 55.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.2736, allocations: 41.45 kB / 441.1 MB, free: 55.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.2736, allocations: 28.5 kB / 441.1 MB, free: 55.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2737, allocations: 0 / 441.1 MB, free: 55.52 MB / 366.1 MB Notification: Performance of Templates: time 0.00746/0.2811, allocations: 6.146 MB / 447.3 MB, free: 55.28 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)