Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001605, 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.347/1.347, 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.001456/0.001456, allocations: 97.91 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.0679/0.0679, allocations: 8.091 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 62.05 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09578, allocations: 51.51 MB / 462.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002674/0.0985, allocations: 1.875 MB / 464.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1002, allocations: 1.547 MB / 466 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1003, allocations: 4 kB / 466 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.1007, allocations: 123.6 kB / 466.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.101, allocations: 127.3 kB / 466.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1021, allocations: 0.7706 MB / 467 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.1024, allocations: 290.6 kB / 467.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1025, allocations: 102.1 kB / 467.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.1026, allocations: 115.5 kB / 467.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1028, allocations: 151.4 kB / 467.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1028, allocations: 20 kB / 467.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.1031, allocations: 163.9 kB / 467.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1031, allocations: 63.69 kB / 467.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.1033, allocations: 131.3 kB / 468.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.1036, allocations: 422.9 kB / 468.5 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1037, allocations: 4 kB / 468.5 MB, free: 172 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1037, allocations: 0 / 468.5 MB, free: 172 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1037, allocations: 0 / 468.5 MB, free: 172 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003021/0.1067, allocations: 0.9546 MB / 469.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.1068, allocations: 8.031 kB / 469.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.158e-05/0.1069, allocations: 32.56 kB / 469.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1072, allocations: 279.8 kB / 469.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1073, allocations: 20.75 kB / 469.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.1073, allocations: 28.36 kB / 469.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.1079, allocations: 343.8 kB / 470.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1079, allocations: 192 / 470.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1079, allocations: 11.94 kB / 470.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.108, allocations: 4 kB / 470.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.1084, allocations: 329.6 kB / 470.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.11, allocations: 1.037 MB / 471.5 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.1106, allocations: 393.6 kB / 471.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.1109, allocations: 232.8 kB / 472.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.111, allocations: 11.98 kB / 472.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.111, allocations: 42.44 kB / 472.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.462e-06/0.111, allocations: 0 / 472.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.002481/0.1135, allocations: 1.056 MB / 473.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1136, allocations: 55.41 kB / 473.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1138, allocations: 227 kB / 473.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.1139, allocations: 37.7 kB / 473.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.114, allocations: 136.7 kB / 473.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/0.1141, allocations: 126.1 kB / 473.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1142, allocations: 90.11 kB / 473.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1144, allocations: 334.8 kB / 474.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.1147, allocations: 236.8 kB / 474.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1151, allocations: 243.9 kB / 474.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.1158, allocations: 0.5015 MB / 475.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1159, allocations: 4 kB / 475.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001294/0.1172, allocations: 0.7208 MB / 475.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1172, allocations: 4 kB / 475.9 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1172, allocations: 0 / 475.9 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.1179, allocations: 154.4 kB / 476.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.1183, allocations: 83.89 kB / 476.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.1226, allocations: 4.31 MB / 480.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.123, allocations: 31.72 kB / 480.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.123, allocations: 15.98 kB / 480.5 MB, free: 3.434 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.1233, allocations: 146.4 kB / 480.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1233, allocations: 31.56 kB / 480.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.1246, allocations: 0.5966 MB / 481.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1246, allocations: 4 kB / 481.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1246, allocations: 0 / 481.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1246, allocations: 7.875 kB / 481.3 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.1251, allocations: 457 kB / 481.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1251, allocations: 7.984 kB / 481.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.1254, allocations: 43.98 kB / 481.8 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.126, allocations: 162.4 kB / 481.9 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.126, allocations: 12 kB / 481.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2178/0.3438, allocations: 4.283 MB / 486.2 MB, free: 26.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3438, allocations: 1.031 kB / 486.2 MB, free: 26.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.3455, allocations: 1.434 MB / 487.7 MB, free: 25.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.3456, allocations: 111.2 kB / 487.8 MB, free: 25.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3457, allocations: 5.875 kB / 487.8 MB, free: 25.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3459, allocations: 18.22 kB / 487.8 MB, free: 25.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.346, allocations: 24.22 kB / 487.8 MB, free: 25.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.346, allocations: 10.44 kB / 487.8 MB, free: 25.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3462, allocations: 166.2 kB / 488 MB, free: 25.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3462, allocations: 0 / 488 MB, free: 25.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.3468, allocations: 120.6 kB / 488.1 MB, free: 25 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0002045/0.347, allocations: 121.1 kB / 488.2 MB, free: 24.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3487, allocations: 0.8817 MB / 489.1 MB, free: 24.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3487, allocations: 0.7031 kB / 489.1 MB, free: 24.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3498, allocations: 0.5901 MB / 489.7 MB, free: 23.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3501, allocations: 21.73 kB / 489.7 MB, free: 23.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3513, allocations: 0.8938 MB / 490.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3515, allocations: 0.7627 MB / 491.4 MB, free: 22.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3517, allocations: 35.36 kB / 491.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3518, allocations: 27.67 kB / 491.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3518, allocations: 0 / 491.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01043/0.3622, allocations: 4.746 MB / 496.2 MB, free: 22.26 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)