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/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.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.001067/0.001068, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 182.2 kB / 16.96 MB, free: 6.895 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.527/1.527, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2342/0.2342, allocations: 8.079 MB / 300.2 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004106, allocations: 12 kB / 363.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 52.51 MB / 416 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001485/0.1306, allocations: 0.765 MB / 416.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.133, allocations: 1.438 MB / 418.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1332, allocations: 4 kB / 418.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.1337, allocations: 87.67 kB / 418.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.1341, allocations: 75.66 kB / 418.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.136, allocations: 0.8407 MB / 419.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1363, allocations: 99.42 kB / 419.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1365, allocations: 33.08 kB / 419.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.1366, allocations: 35.86 kB / 419.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1367, allocations: 55.77 kB / 419.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1367, allocations: 4 kB / 419.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1372, allocations: 203.8 kB / 419.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1373, allocations: 19.91 kB / 419.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.314e-05/0.1374, allocations: 73.44 kB / 419.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.1379, allocations: 271.4 kB / 420 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1379, allocations: 0 / 420 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1379, allocations: 0 / 420 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.138, allocations: 0 / 420 MB, free: 4.402 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.00214/0.1401, allocations: 0.6317 MB / 420.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1402, allocations: 11.97 kB / 420.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.1403, allocations: 8.844 kB / 420.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1405, allocations: 206.4 kB / 420.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1406, allocations: 8.375 kB / 420.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1406, allocations: 8.375 kB / 420.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.141, allocations: 167.8 kB / 421 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.141, allocations: 192 / 421 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.141, allocations: 3.938 kB / 421 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.141, allocations: 4 kB / 421 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1413, allocations: 120 kB / 421.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.1423, allocations: 496.3 kB / 421.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.143, allocations: 178.6 kB / 421.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.1431, allocations: 44.84 kB / 421.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.1436, allocations: 462.2 kB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1437, allocations: 38.56 kB / 422.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1437, allocations: 3.938 kB / 422.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009036/0.1446, allocations: 299.3 kB / 422.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1447, allocations: 77.11 kB / 422.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1448, allocations: 154.4 kB / 422.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1449, allocations: 29.7 kB / 422.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.145, allocations: 119.7 kB / 423 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.145, allocations: 39.48 kB / 423 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1451, allocations: 21.7 kB / 423.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1452, allocations: 323.2 kB / 423.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1453, allocations: 59.92 kB / 423.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1454, allocations: 118.9 kB / 423.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1457, allocations: 178.9 kB / 423.7 MB, free: 324 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1457, allocations: 0 / 423.7 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005521/0.1462, allocations: 262.2 kB / 424 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1463, allocations: 4 kB / 424 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1463, allocations: 0 / 424 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2583/0.4045, allocations: 66.41 kB / 424.1 MB, free: 41.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.4048, allocations: 41.61 kB / 424.1 MB, free: 41.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.4059, allocations: 1.367 MB / 425.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4061, allocations: 18.94 kB / 425.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4061, allocations: 9.484 kB / 425.5 MB, free: 40.11 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.0001037/0.4062, allocations: 137 kB / 425.6 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.4063, allocations: 12.45 kB / 425.6 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.4068, allocations: 190.8 kB / 425.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4068, allocations: 1.25 kB / 425.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4068, allocations: 2.812 kB / 425.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4068, allocations: 6.188 kB / 425.8 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.407, allocations: 233.2 kB / 426.1 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.407, allocations: 0 / 426.1 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.4071, allocations: 12.19 kB / 426.1 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.4074, allocations: 67.31 kB / 426.1 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4074, allocations: 3.453 kB / 426.1 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.4084, allocations: 1.377 MB / 427.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4084, allocations: 3.469 kB / 427.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.4088, allocations: 260.5 kB / 427.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.4089, allocations: 99.5 kB / 427.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.4089, allocations: 5.125 kB / 427.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.409, allocations: 10.39 kB / 427.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.4091, allocations: 10.81 kB / 427.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.4091, allocations: 3.594 kB / 427.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.487e-05/0.4092, allocations: 121.4 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4092, allocations: 0 / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.4095, allocations: 40.84 kB / 428.1 MB, free: 38.2 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.000169/0.4097, allocations: 116.1 kB / 428.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.4102, allocations: 270 kB / 428.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4103, allocations: 0 / 428.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.4106, allocations: 184.2 kB / 428.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.4108, allocations: 14 kB / 428.6 MB, free: 37.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.4113, allocations: 320.4 kB / 428.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.4115, allocations: 0.7057 MB / 429.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.4116, allocations: 15.08 kB / 429.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.4116, allocations: 15.62 kB / 429.7 MB, free: 37 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4116, allocations: 0 / 429.7 MB, free: 37 MB / 350.1 MB Notification: Performance of Templates: time 0.004387/0.416, allocations: 1.778 MB / 431.5 MB, free: 36.9 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: