Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004019/0.004019, allocations: 93 kB / 15.91 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.0009995/0.0009995, allocations: 201.1 kB / 16.84 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.205/1.205, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1322/0.1322, allocations: 8.09 MB / 298.7 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 63.89 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08733, allocations: 51.51 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002265/0.08963, allocations: 1.299 MB / 413.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.09121, allocations: 1.497 MB / 415.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.09126, allocations: 0 / 415.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.09156, allocations: 95.67 kB / 415.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.09177, allocations: 87.56 kB / 415.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.09327, allocations: 0.9886 MB / 416.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.09346, allocations: 155.2 kB / 416.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.09358, allocations: 41.53 kB / 416.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.09365, allocations: 67.7 kB / 416.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.09378, allocations: 79.67 kB / 416.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.09381, allocations: 11.94 kB / 416.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.09414, allocations: 223.8 kB / 417.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.09418, allocations: 35.89 kB / 417.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.09426, allocations: 75.61 kB / 417.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.09463, allocations: 327.4 kB / 417.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09464, allocations: 3.938 kB / 417.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09465, allocations: 0 / 417.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.09465, allocations: 0 / 417.5 MB, free: 5.184 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00201/0.09667, allocations: 0.7214 MB / 418.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.0967, allocations: 8.031 kB / 418.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.09677, allocations: 20.75 kB / 418.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.09699, allocations: 228 kB / 418.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.09701, allocations: 8.609 kB / 418.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.09704, allocations: 16.36 kB / 418.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.09733, allocations: 198 kB / 418.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.09735, allocations: 192 / 418.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.09738, allocations: 11.94 kB / 418.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.09739, allocations: 4 kB / 418.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.09762, allocations: 160.6 kB / 418.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.09866, allocations: 0.7224 MB / 419.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.0991, allocations: 198.5 kB / 419.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.09924, allocations: 100.8 kB / 419.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.09928, allocations: 4 kB / 419.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.0993, allocations: 42.5 kB / 419.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.09931, allocations: 0 / 419.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00189/0.1012, allocations: 0.591 MB / 420.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1013, allocations: 77.11 kB / 420.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1014, allocations: 182.5 kB / 420.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1015, allocations: 29.7 kB / 420.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1015, allocations: 112.4 kB / 420.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1016, allocations: 55.19 kB / 421 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.1016, allocations: 53.69 kB / 421 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1018, allocations: 330.8 kB / 421.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1019, allocations: 103.9 kB / 421.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1021, allocations: 129.5 kB / 421.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1024, allocations: 224.8 kB / 421.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1024, allocations: 8 kB / 421.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001037/0.1034, allocations: 422 kB / 422.2 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1035, allocations: 4 kB / 422.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1035, allocations: 7.984 kB / 422.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1045, allocations: 192.7 kB / 422.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1047, allocations: 47.86 kB / 422.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1071, allocations: 1.818 MB / 424.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1073, allocations: 27.78 kB / 424.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.1073, allocations: 4 kB / 424.3 MB, free: 13.95 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.1074, allocations: 129.8 kB / 424.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.1075, allocations: 11.91 kB / 424.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.1085, allocations: 394 kB / 424.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1085, allocations: 4 kB / 424.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1085, allocations: 4 kB / 424.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1085, allocations: 4 kB / 424.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.1088, allocations: 305.3 kB / 425.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1088, allocations: 0 / 425.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1089, allocations: 23.98 kB / 425.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009353/0.1099, allocations: 192.6 kB / 425.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1099, allocations: 8 kB / 425.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.112, allocations: 1.804 MB / 427.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.112, allocations: 11.88 kB / 427.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.113, allocations: 451.8 kB / 427.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1131, allocations: 100.8 kB / 427.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1131, allocations: 4 kB / 427.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1133, allocations: 15.98 kB / 427.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1133, allocations: 11.98 kB / 427.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1134, allocations: 11.94 kB / 427.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1135, allocations: 131.2 kB / 427.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1135, allocations: 0 / 427.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1138, allocations: 71.94 kB / 428 MB, free: 10.05 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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.114, allocations: 111.2 kB / 428.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008395/0.1148, allocations: 409.3 kB / 428.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1148, allocations: 0 / 428.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.1154, allocations: 274.6 kB / 428.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1157, allocations: 22.23 kB / 428.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.1163, allocations: 435.4 kB / 429.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1166, allocations: 0.7206 MB / 429.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.327e-05/0.1167, allocations: 21.5 kB / 429.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1168, allocations: 23.42 kB / 429.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1168, allocations: 4 kB / 429.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of Templates: time 0.006517/0.1233, allocations: 3.941 MB / 433.9 MB, free: 4.051 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)