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.004068/0.004068, allocations: 94.3 kB / 15.92 MB, free: 6.273 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.001083/0.001083, allocations: 198.2 kB / 16.83 MB, free: 6.188 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.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.134/0.134, allocations: 8.085 MB / 298.7 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 59.91 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09591, allocations: 51.52 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002364/0.09832, allocations: 1.123 MB / 413.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1005, allocations: 1.446 MB / 415.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1006, allocations: 4 kB / 415.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.101, allocations: 91.66 kB / 415.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1012, allocations: 71.67 kB / 415.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1026, allocations: 0.8562 MB / 416.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1028, allocations: 107.5 kB / 416.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1029, allocations: 29.09 kB / 416.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.103, allocations: 43.78 kB / 416.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.103, allocations: 55.78 kB / 416.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1031, allocations: 7.938 kB / 416.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.1034, allocations: 203.8 kB / 416.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1034, allocations: 19.92 kB / 416.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1035, allocations: 55.67 kB / 416.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1039, allocations: 267.6 kB / 416.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1039, allocations: 0 / 416.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1039, allocations: 0 / 416.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1039, allocations: 0 / 416.9 MB, free: 5.797 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.001836/0.1058, allocations: 0.6473 MB / 417.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1058, allocations: 12.03 kB / 417.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1059, allocations: 12.75 kB / 417.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1061, allocations: 200.2 kB / 417.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1061, allocations: 8.375 kB / 417.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1062, allocations: 8.375 kB / 417.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1065, allocations: 167.8 kB / 418 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1065, allocations: 4.172 kB / 418 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1065, allocations: 7.938 kB / 418 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1065, allocations: 7.938 kB / 418 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1067, allocations: 116 kB / 418.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.1075, allocations: 0.4886 MB / 418.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.1081, allocations: 170.6 kB / 418.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.1082, allocations: 48.84 kB / 418.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.1087, allocations: 458.2 kB / 419.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1087, allocations: 38.88 kB / 419.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1087, allocations: 0 / 419.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007882/0.1095, allocations: 295.3 kB / 419.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1096, allocations: 85.03 kB / 419.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1097, allocations: 166.3 kB / 419.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1097, allocations: 33.7 kB / 419.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.1098, allocations: 111.8 kB / 420 MB, free: 2.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1098, allocations: 35.41 kB / 420 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1099, allocations: 45.69 kB / 420 MB, free: 2.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.11, allocations: 330.8 kB / 420.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.1101, allocations: 55.98 kB / 420.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1103, allocations: 114.9 kB / 420.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1105, allocations: 167 kB / 420.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1105, allocations: 0 / 420.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005326/0.1111, allocations: 263.8 kB / 420.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.1111, allocations: 8 kB / 420.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1111, allocations: 0 / 420.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.1116, allocations: 76.89 kB / 421 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1117, allocations: 31.98 kB / 421.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.113, allocations: 1.374 MB / 422.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1131, allocations: 23.75 kB / 422.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1132, allocations: 4 kB / 422.5 MB, free: 15.76 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 (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.0001047/0.1133, allocations: 138.9 kB / 422.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.1133, allocations: 11.84 kB / 422.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.1138, allocations: 195 kB / 422.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1138, allocations: 4 kB / 422.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1138, allocations: 0 / 422.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1138, allocations: 0 / 422.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.114, allocations: 241.4 kB / 423 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.114, allocations: 0 / 423 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.1141, allocations: 15.98 kB / 423 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.1144, allocations: 60.81 kB / 423.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1144, allocations: 0 / 423.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.1157, allocations: 1.374 MB / 424.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1157, allocations: 0 / 424.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.1161, allocations: 272.1 kB / 424.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.1162, allocations: 92.89 kB / 424.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1162, allocations: 7.984 kB / 424.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1164, allocations: 12 kB / 424.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.1164, allocations: 8.359 kB / 424.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1164, allocations: 4 kB / 424.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.978e-05/0.1165, allocations: 121.7 kB / 425 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1165, allocations: 0 / 425 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1168, allocations: 43.94 kB / 425 MB, free: 12.94 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 (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.0001662/0.117, allocations: 107.2 kB / 425.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.1175, allocations: 274.4 kB / 425.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1175, allocations: 0 / 425.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.1178, allocations: 179 kB / 425.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1181, allocations: 8 kB / 425.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.1186, allocations: 319.8 kB / 425.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1188, allocations: 0.7009 MB / 426.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.1189, allocations: 12.88 kB / 426.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.119, allocations: 15.44 kB / 426.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.119, allocations: 0 / 426.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Templates: time 0.003975/0.1229, allocations: 1.813 MB / 428.4 MB, free: 9.453 MB / 366.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)