Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001294, 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.356/1.356, allocations: 222.9 MB / 240.3 MB, free: 11.02 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.001157/0.001157, allocations: 109.7 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04961/0.04961, allocations: 8.082 MB / 348.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 56.42 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09204, allocations: 51.52 MB / 462.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002595/0.09468, allocations: 2.268 MB / 464.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.09654, allocations: 1.672 MB / 466.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.09665, allocations: 4 kB / 466.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.09703, allocations: 131.4 kB / 466.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.09736, allocations: 167 kB / 466.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.09875, allocations: 0.9373 MB / 467.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.09909, allocations: 406 kB / 468.2 MB, free: 500 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.09926, allocations: 107.8 kB / 468.3 MB, free: 392 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.09937, allocations: 163.3 kB / 468.4 MB, free: 228 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.09958, allocations: 215.1 kB / 468.7 MB, free: 12 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.09966, allocations: 24.05 kB / 468.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.1, allocations: 215.8 kB / 468.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1001, allocations: 75.62 kB / 469 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1003, allocations: 187 kB / 469.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.1009, allocations: 0.5337 MB / 469.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1009, allocations: 0 / 469.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1009, allocations: 0 / 469.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.101, allocations: 0 / 469.7 MB, free: 14.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00365/0.1046, allocations: 1.145 MB / 470.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1047, allocations: 12.03 kB / 470.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1048, allocations: 44.38 kB / 470.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1052, allocations: 327.5 kB / 471.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1053, allocations: 20.94 kB / 471.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.1053, allocations: 36.31 kB / 471.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.106, allocations: 417.3 kB / 471.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.106, allocations: 192 / 471.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.1061, allocations: 15.94 kB / 471.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1061, allocations: 11.98 kB / 471.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.1066, allocations: 406.1 kB / 472.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1088, allocations: 1.549 MB / 473.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1099, allocations: 0.5553 MB / 474.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1103, allocations: 285.5 kB / 474.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.1104, allocations: 8.359 kB / 474.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1104, allocations: 38.94 kB / 474.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.613e-06/0.1104, allocations: 0 / 474.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.004574/0.115, allocations: 1.647 MB / 476.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.115, allocations: 55.41 kB / 476.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1153, allocations: 278.5 kB / 476.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.1154, allocations: 41.69 kB / 476.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.1155, allocations: 157 kB / 476.7 MB, free: 7.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1156, allocations: 157.7 kB / 476.8 MB, free: 7.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1158, allocations: 90.23 kB / 476.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1159, allocations: 346.8 kB / 477.3 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.1162, allocations: 261 kB / 477.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.1166, allocations: 269 kB / 477.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.1174, allocations: 0.5935 MB / 478.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1174, allocations: 0 / 478.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002223/0.1197, allocations: 1.02 MB / 479.4 MB, free: 4.879 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1197, allocations: 8 kB / 479.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1197, allocations: 0 / 479.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.1215, allocations: 430.1 kB / 479.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.1218, allocations: 79.83 kB / 479.9 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1916/0.3135, allocations: 5.653 MB / 485.6 MB, free: 26.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.3139, allocations: 41.02 kB / 485.6 MB, free: 26.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.314, allocations: 16.88 kB / 485.6 MB, free: 26.88 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 (46): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.3142, allocations: 163.5 kB / 485.8 MB, free: 26.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.3142, allocations: 34.09 kB / 485.8 MB, free: 26.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.3168, allocations: 1 MB / 486.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3168, allocations: 6.094 kB / 486.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3168, allocations: 0 / 486.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3168, allocations: 6.703 kB / 486.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.3176, allocations: 0.5611 MB / 487.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3176, allocations: 0.8438 kB / 487.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3178, allocations: 55.55 kB / 487.4 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.3197, allocations: 428.6 kB / 487.9 MB, free: 25.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3197, allocations: 11.97 kB / 487.9 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.3252, allocations: 5.597 MB / 493.5 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3252, allocations: 1.375 kB / 493.5 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3282, allocations: 1.943 MB / 495.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.3283, allocations: 114.7 kB / 495.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.3284, allocations: 12.7 kB / 495.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3288, allocations: 25.91 kB / 495.6 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.3289, allocations: 42.59 kB / 495.6 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.329, allocations: 21.72 kB / 495.6 MB, free: 19.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3292, allocations: 195.3 kB / 495.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3292, allocations: 0 / 495.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007646/0.33, allocations: 170.5 kB / 496 MB, free: 19.51 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 (37): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.3302, allocations: 132.4 kB / 496.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.332, allocations: 1.077 MB / 497.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3321, allocations: 7.875 kB / 497.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3333, allocations: 0.7502 MB / 497.9 MB, free: 18.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3337, allocations: 55.03 kB / 498 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3353, allocations: 1.177 MB / 499.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3357, allocations: 0.8085 MB / 500 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3359, allocations: 51.98 kB / 0.4883 GB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.336, allocations: 34.39 kB / 0.4883 GB, free: 16.7 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.336, allocations: 1.5 kB / 0.4883 GB, free: 16.7 MB / 314.7 MB Notification: Performance of Templates: time 0.01631/0.3523, allocations: 10.66 MB / 0.4988 GB, free: 12.95 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)