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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 105.7 kB / 290.6 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05448/0.05448, allocations: 8.097 MB / 348.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009831/0.0009831, allocations: 54.94 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09228, allocations: 51.52 MB / 462.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002523/0.09486, allocations: 1.646 MB / 464.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.09647, allocations: 1.547 MB / 465.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.09655, allocations: 4 kB / 465.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.09692, allocations: 107.6 kB / 465.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.09719, allocations: 115.4 kB / 466 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.09869, allocations: 1.155 MB / 467.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.09895, allocations: 234.8 kB / 467.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.09909, allocations: 76.2 kB / 467.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.09919, allocations: 95.64 kB / 467.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.09935, allocations: 127.4 kB / 467.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.09939, allocations: 12 kB / 467.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.09972, allocations: 247.8 kB / 468 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.09977, allocations: 47.72 kB / 468 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.09985, allocations: 103.5 kB / 468.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1002, allocations: 427 kB / 468.5 MB, free: 156 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1002, allocations: 0 / 468.5 MB, free: 156 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1002, allocations: 4 kB / 468.5 MB, free: 152 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1003, allocations: 0 / 468.5 MB, free: 152 kB / 298.7 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.00293/0.1032, allocations: 0.9124 MB / 469.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1032, allocations: 8.031 kB / 469.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.1033, allocations: 28.66 kB / 469.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1036, allocations: 255.9 kB / 469.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1037, allocations: 16.7 kB / 469.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1037, allocations: 20.38 kB / 469.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1041, allocations: 289.7 kB / 470 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1041, allocations: 4.125 kB / 470 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.1042, allocations: 7.938 kB / 470.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1042, allocations: 4 kB / 470.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1045, allocations: 243.9 kB / 470.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.106, allocations: 1.149 MB / 471.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.1066, allocations: 302.5 kB / 471.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1068, allocations: 157.5 kB / 471.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.1069, allocations: 12.42 kB / 471.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1069, allocations: 34.56 kB / 471.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.107, allocations: 0 / 471.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.003153/0.1101, allocations: 0.9729 MB / 472.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.1102, allocations: 81.11 kB / 473 MB, free: 11.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1105, allocations: 207.1 kB / 473.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1105, allocations: 33.7 kB / 473.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1106, allocations: 136.7 kB / 473.4 MB, free: 11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.1107, allocations: 82.73 kB / 473.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1108, allocations: 69.69 kB / 473.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.111, allocations: 330.8 kB / 473.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1113, allocations: 164 kB / 474 MB, free: 10.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1116, allocations: 197.4 kB / 474.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.1121, allocations: 366.4 kB / 474.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1121, allocations: 0 / 474.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001802/0.1139, allocations: 0.6964 MB / 475.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.114, allocations: 4 kB / 475.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.114, allocations: 0 / 475.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.1158, allocations: 376.5 kB / 475.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1161, allocations: 55.91 kB / 475.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.1203, allocations: 2.525 MB / 478.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.1206, allocations: 27.69 kB / 478.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1206, allocations: 15.92 kB / 478.2 MB, free: 5.953 MB / 314.7 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.0001588/0.1208, allocations: 141.8 kB / 478.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.1209, allocations: 19.72 kB / 478.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.1227, allocations: 0.6575 MB / 479 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1227, allocations: 7.984 kB / 479.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1227, allocations: 0 / 479.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1227, allocations: 7.922 kB / 479.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1231, allocations: 381.2 kB / 479.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1232, allocations: 3.984 kB / 479.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1233, allocations: 31.98 kB / 479.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.125, allocations: 376.7 kB / 479.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1251, allocations: 4 kB / 479.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/0.129, allocations: 2.507 MB / 482.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.129, allocations: 0 / 482.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.1314, allocations: 1.462 MB / 483.8 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1928/0.3242, allocations: 108.7 kB / 483.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.3244, allocations: 8.312 kB / 483.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.3247, allocations: 14.95 kB / 483.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3248, allocations: 17.8 kB / 484 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.3249, allocations: 13.09 kB / 484 MB, free: 28.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.325, allocations: 157.1 kB / 484.1 MB, free: 28.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0.6875 kB / 484.1 MB, free: 28.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.3257, allocations: 103.3 kB / 484.2 MB, free: 28.24 MB / 314.7 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.000206/0.326, allocations: 115.2 kB / 484.3 MB, free: 28.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3277, allocations: 0.6351 MB / 485 MB, free: 28.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3277, allocations: 0 / 485 MB, free: 28.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3289, allocations: 446.1 kB / 485.4 MB, free: 27.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3292, allocations: 30.3 kB / 485.4 MB, free: 27.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.3302, allocations: 0.775 MB / 486.2 MB, free: 27.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.3303, allocations: 0.7575 MB / 487 MB, free: 26.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.3305, allocations: 34.27 kB / 487 MB, free: 26.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3305, allocations: 25.02 kB / 487 MB, free: 26.76 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3306, allocations: 0 / 487 MB, free: 26.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01141/0.342, allocations: 6.242 MB / 493.3 MB, free: 26.21 MB / 314.7 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)