Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, 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.333/1.333, allocations: 222.9 MB / 240.4 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.00102/0.00102, allocations: 103.7 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05229/0.05229, allocations: 8.092 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 58.27 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09228, allocations: 51.52 MB / 462.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002748/0.09508, allocations: 1.653 MB / 464.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.09683, allocations: 1.547 MB / 465.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.09697, allocations: 4 kB / 465.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.09738, allocations: 119.5 kB / 465.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.09771, allocations: 123.4 kB / 466.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.09916, allocations: 1.011 MB / 467.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.09946, allocations: 238.8 kB / 467.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.09962, allocations: 68.22 kB / 467.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.09973, allocations: 91.64 kB / 467.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.0999, allocations: 127.4 kB / 467.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.09995, allocations: 16 kB / 467.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.1003, allocations: 227.8 kB / 467.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1004, allocations: 43.77 kB / 467.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.358e-05/0.1005, allocations: 119.3 kB / 468 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.1011, allocations: 403.1 kB / 468.4 MB, free: 284 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1011, allocations: 0 / 468.4 MB, free: 284 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1011, allocations: 4 kB / 468.4 MB, free: 280 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1012, allocations: 0 / 468.4 MB, free: 280 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.003731/0.1049, allocations: 0.9982 MB / 469.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1049, allocations: 8.031 kB / 469.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.105, allocations: 32.59 kB / 469.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1054, allocations: 259.9 kB / 469.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1054, allocations: 16.7 kB / 469.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1055, allocations: 20.38 kB / 469.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.106, allocations: 298.5 kB / 470 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.106, allocations: 192 / 470 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1061, allocations: 11.94 kB / 470 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1061, allocations: 4 kB / 470 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1066, allocations: 247.9 kB / 470.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1085, allocations: 1.168 MB / 471.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.1091, allocations: 315.2 kB / 471.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.1094, allocations: 156.8 kB / 471.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.1094, allocations: 8.375 kB / 471.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1095, allocations: 38.56 kB / 471.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1095, allocations: 0 / 471.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.003955/0.1134, allocations: 1.074 MB / 473 MB, free: 11.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.1135, allocations: 106.8 kB / 473.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1137, allocations: 210.9 kB / 473.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.1138, allocations: 33.7 kB / 473.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.1139, allocations: 136.7 kB / 473.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.114, allocations: 90.75 kB / 473.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1141, allocations: 69.69 kB / 473.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.1142, allocations: 334.8 kB / 474 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.1145, allocations: 176.2 kB / 474.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1148, allocations: 210.4 kB / 474.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.1153, allocations: 385.4 kB / 474.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1153, allocations: 0 / 474.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002063/0.1174, allocations: 0.7437 MB / 475.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1174, allocations: 6.812 kB / 475.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1174, allocations: 0 / 475.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.1196, allocations: 428.3 kB / 475.9 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1198, allocations: 55.91 kB / 475.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.124, allocations: 2.517 MB / 478.5 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1243, allocations: 43.61 kB / 478.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1243, allocations: 12 kB / 478.5 MB, free: 5.645 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1245, allocations: 141.8 kB / 478.6 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.1246, allocations: 23.72 kB / 478.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.1267, allocations: 0.6994 MB / 479.4 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1267, allocations: 4 kB / 479.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1267, allocations: 0 / 479.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1267, allocations: 0 / 479.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.1271, allocations: 397.2 kB / 479.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1271, allocations: 0 / 479.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1273, allocations: 39.98 kB / 479.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.1293, allocations: 416.3 kB / 480.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1293, allocations: 4 kB / 480.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.1331, allocations: 2.48 MB / 482.7 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.1331, allocations: 8.031 kB / 482.7 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1895/0.3227, allocations: 1.507 MB / 484.2 MB, free: 27.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3228, allocations: 101.8 kB / 484.3 MB, free: 27.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.3229, allocations: 6.094 kB / 484.3 MB, free: 27.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.3233, allocations: 22.42 kB / 484.3 MB, free: 27.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3234, allocations: 28.3 kB / 484.4 MB, free: 27.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3234, allocations: 9.328 kB / 484.4 MB, free: 27.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.3237, allocations: 156.1 kB / 484.5 MB, free: 27.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3237, allocations: 0 / 484.5 MB, free: 27.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006852/0.3244, allocations: 109.2 kB / 484.6 MB, free: 27.71 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.3246, allocations: 109.8 kB / 484.7 MB, free: 27.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.3262, allocations: 0.6179 MB / 485.4 MB, free: 27.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3262, allocations: 4.531 kB / 485.4 MB, free: 27.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3272, allocations: 401.3 kB / 485.8 MB, free: 27.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3276, allocations: 27.67 kB / 485.8 MB, free: 27.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3287, allocations: 0.7872 MB / 486.6 MB, free: 26.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3289, allocations: 0.7533 MB / 487.3 MB, free: 26.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.329, allocations: 33.83 kB / 487.4 MB, free: 26.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.3291, allocations: 27.55 kB / 487.4 MB, free: 26.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3291, allocations: 0 / 487.4 MB, free: 26.2 MB / 314.7 MB Notification: Performance of Templates: time 0.01449/0.3436, allocations: 7.04 MB / 494.4 MB, free: 25.37 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)