Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003847/0.003847, allocations: 92.27 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.0009159/0.000916, allocations: 196.5 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.197/1.197, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1463/0.1463, allocations: 8.077 MB / 298.7 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000978/0.000978, allocations: 63.91 kB / 361 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.08087, allocations: 51.51 MB / 412.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002368/0.08326, allocations: 1.656 MB / 414.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.08492, allocations: 1.536 MB / 415.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.08498, allocations: 4 kB / 415.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.08528, allocations: 107.6 kB / 415.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.08553, allocations: 123.3 kB / 416 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.0872, allocations: 1.158 MB / 417.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.08744, allocations: 230.8 kB / 417.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.08757, allocations: 68.09 kB / 417.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.08765, allocations: 103.6 kB / 417.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.08781, allocations: 115.5 kB / 417.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.08785, allocations: 12 kB / 417.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.08819, allocations: 251.7 kB / 417.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.08824, allocations: 47.77 kB / 417.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.08834, allocations: 111.4 kB / 418 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.08878, allocations: 419.1 kB / 418.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.08879, allocations: 0 / 418.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.0888, allocations: 0 / 418.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.08881, allocations: 4 kB / 418.4 MB, free: 4.215 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002731/0.09155, allocations: 0.9162 MB / 419.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.09159, allocations: 8.031 kB / 419.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.09166, allocations: 28.66 kB / 419.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.09193, allocations: 251.9 kB / 419.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.09195, allocations: 12.7 kB / 419.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.09199, allocations: 20.38 kB / 419.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.0924, allocations: 289.7 kB / 420 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.09242, allocations: 192 / 420 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.09246, allocations: 15.94 kB / 420 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.09247, allocations: 4 kB / 420 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.09281, allocations: 243.9 kB / 420.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.09416, allocations: 1.149 MB / 421.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.09471, allocations: 306.4 kB / 421.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.09493, allocations: 160.8 kB / 421.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.09498, allocations: 7.984 kB / 421.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.095, allocations: 35 kB / 421.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.09501, allocations: 0 / 421.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003084/0.0981, allocations: 0.971 MB / 422.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.09817, allocations: 77.11 kB / 422.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.09837, allocations: 215.1 kB / 423.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.09841, allocations: 33.7 kB / 423.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.09849, allocations: 128.7 kB / 423.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.09855, allocations: 90.67 kB / 423.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.09866, allocations: 65.69 kB / 423.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.09877, allocations: 334.8 kB / 423.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.099, allocations: 159.9 kB / 423.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.09925, allocations: 193.7 kB / 424.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.09974, allocations: 378 kB / 424.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09976, allocations: 0 / 424.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001695/0.1015, allocations: 0.681 MB / 425.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1015, allocations: 8 kB / 425.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1015, allocations: 4 kB / 425.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.1032, allocations: 376.4 kB / 425.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1034, allocations: 55.91 kB / 425.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.1073, allocations: 2.531 MB / 428.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.1076, allocations: 31.73 kB / 428.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.1076, allocations: 12 kB / 428.2 MB, free: 10.01 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.1078, allocations: 137.8 kB / 428.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1078, allocations: 19.81 kB / 428.3 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.1096, allocations: 0.6521 MB / 429 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1096, allocations: 7.984 kB / 429 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1096, allocations: 0 / 429 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1096, allocations: 7.938 kB / 429 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1099, allocations: 385.2 kB / 429.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.11, allocations: 0 / 429.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1101, allocations: 39.92 kB / 429.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.1117, allocations: 372.4 kB / 429.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1117, allocations: 8 kB / 429.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.1153, allocations: 2.503 MB / 432.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1153, allocations: 4 kB / 432.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1169, allocations: 0.6952 MB / 433 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.117, allocations: 108.8 kB / 433.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.1171, allocations: 8 kB / 433.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.1173, allocations: 19.98 kB / 433.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.1174, allocations: 23.86 kB / 433.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.1174, allocations: 15.98 kB / 433.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1175, allocations: 151.4 kB / 433.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1175, allocations: 3.938 kB / 433.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.1179, allocations: 96 kB / 433.4 MB, free: 4.531 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 (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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.1181, allocations: 119.3 kB / 433.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1196, allocations: 0.6348 MB / 434.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1196, allocations: 0 / 434.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.1206, allocations: 450.3 kB / 434.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.121, allocations: 20 kB / 434.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.1217, allocations: 0.5737 MB / 435.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.122, allocations: 0.7563 MB / 435.9 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1221, allocations: 33.92 kB / 436 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1222, allocations: 23.44 kB / 436 MB, free: 1.848 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1222, allocations: 0 / 436 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Templates: time 0.1437/0.2659, allocations: 5.935 MB / 441.9 MB, free: 56.5 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)