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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001105, allocations: 104.9 kB / 16.45 MB, free: 6.438 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.001051/0.001051, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05141/0.05141, allocations: 8.101 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.89 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09107, allocations: 51.51 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002529/0.09362, allocations: 1.839 MB / 467.8 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.09575, allocations: 1.551 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.09587, allocations: 4 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.09631, allocations: 139.2 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.09664, allocations: 143.1 kB / 469.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.09817, allocations: 0.801 MB / 470.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.09856, allocations: 298.6 kB / 470.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.0988, allocations: 129.6 kB / 470.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.09891, allocations: 119.6 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.09908, allocations: 151.4 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.09912, allocations: 31.94 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.09942, allocations: 179.8 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.09948, allocations: 51.83 kB / 471.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.0996, allocations: 147.2 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.1001, allocations: 430.4 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1001, allocations: 4 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1001, allocations: 0 / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1001, allocations: 0 / 472 MB, free: 12.17 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00283/0.1029, allocations: 0.9703 MB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.103, allocations: 8.031 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1031, allocations: 32.75 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1033, allocations: 284.3 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1033, allocations: 16.81 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.1034, allocations: 24.38 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.1039, allocations: 347.7 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1039, allocations: 192 / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.104, allocations: 11.94 kB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.104, allocations: 4 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.1045, allocations: 337.6 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.106, allocations: 1.025 MB / 475 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.1065, allocations: 394.5 kB / 475.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.1068, allocations: 224.8 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.1069, allocations: 8 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1069, allocations: 43.08 kB / 475.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.1069, allocations: 0 / 475.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002305/0.1093, allocations: 1.058 MB / 476.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1093, allocations: 55.41 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1095, allocations: 234.9 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1095, allocations: 37.7 kB / 477 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.1096, allocations: 140.8 kB / 477.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.1097, allocations: 122.9 kB / 477.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1099, allocations: 90.06 kB / 477.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.11, allocations: 334.8 kB / 477.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.1103, allocations: 232.8 kB / 477.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1106, allocations: 247.9 kB / 478.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.1113, allocations: 0.5015 MB / 478.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1113, allocations: 4 kB / 478.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001233/0.1125, allocations: 0.721 MB / 479.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1126, allocations: 4 kB / 479.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1126, allocations: 0 / 479.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/0.1132, allocations: 158.5 kB / 479.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1136, allocations: 87.81 kB / 479.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.1174, allocations: 4.617 MB / 484.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.1176, allocations: 31.72 kB / 484.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1177, allocations: 19.98 kB / 484.3 MB, free: 15.08 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 (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.0001566/0.1178, allocations: 153.9 kB / 484.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.1179, allocations: 23.86 kB / 484.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.1191, allocations: 0.6001 MB / 485.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1191, allocations: 4 kB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1192, allocations: 3.938 kB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1192, allocations: 0 / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1196, allocations: 461.1 kB / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1196, allocations: 0 / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1198, allocations: 47.98 kB / 485.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.1204, allocations: 162.4 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1204, allocations: 4 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.124, allocations: 4.595 MB / 490.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.124, allocations: 0 / 490.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.125, allocations: 0.6275 MB / 491 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.1251, allocations: 112.8 kB / 491.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.1252, allocations: 8 kB / 491.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1254, allocations: 11.88 kB / 491.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1255, allocations: 23.97 kB / 491.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1255, allocations: 15.94 kB / 491.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1256, allocations: 172.1 kB / 491.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1257, allocations: 0 / 491.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.1261, allocations: 116 kB / 491.4 MB, free: 7.418 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 (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.0002048/0.1263, allocations: 131.2 kB / 491.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.1278, allocations: 0.8772 MB / 492.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1278, allocations: 0 / 492.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000949/0.1288, allocations: 0.5857 MB / 493 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.1291, allocations: 16.67 kB / 493 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1301, allocations: 0.5692 MB / 493.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1305, allocations: 0.7533 MB / 494.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1306, allocations: 34.25 kB / 494.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.1307, allocations: 35.42 kB / 494.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1307, allocations: 0 / 494.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of Templates: time 0.008043/0.1388, allocations: 4.769 MB / 499.2 MB, free: 15.52 MB / 382.1 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)