Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000877/0.000877, allocations: 80.06 kB / 20.76 MB, free: 3.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 177 kB / 24.19 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9526/0.9526, allocations: 177.1 MB / 204.6 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02302/0.02302, allocations: 4.493 MB / 265.6 MB, free: 8.281 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.032e-05, allocations: 10.05 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.00172/0.00174, allocations: 1.48 MB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003354, allocations: 1.605 MB / 286.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.003425, allocations: 4 kB / 286.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.003735, allocations: 131.2 kB / 286.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.003962, allocations: 107.2 kB / 287 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009841/0.004946, allocations: 0.8633 MB / 287.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.005213, allocations: 246.6 kB / 288.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005321, allocations: 54.5 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.005436, allocations: 135.7 kB / 288.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005571, allocations: 95.7 kB / 288.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.005596, allocations: 16 kB / 288.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.006151, allocations: 207.7 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.006188, allocations: 47.83 kB / 288.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.006245, allocations: 75.77 kB / 288.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.006615, allocations: 362.7 kB / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006617, allocations: 0 / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006618, allocations: 0 / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006623, allocations: 0 / 289.1 MB, free: 0.7539 MB / 266.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.1002/0.1068, allocations: 0.755 MB / 289.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1069, allocations: 8 kB / 289.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.1069, allocations: 32.84 kB / 289.9 MB, free: 20.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1072, allocations: 162 kB / 290 MB, free: 20.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1072, allocations: 16.73 kB / 290 MB, free: 20.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1072, allocations: 20.47 kB / 290.1 MB, free: 20.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1074, allocations: 254.6 kB / 290.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1075, allocations: 192 / 290.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1075, allocations: 8.219 kB / 290.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1075, allocations: 4.625 kB / 290.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1076, allocations: 76.66 kB / 290.4 MB, free: 20.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.1083, allocations: 479.4 kB / 290.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1086, allocations: 212 kB / 291.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.1087, allocations: 50.8 kB / 291.1 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.1088, allocations: 9.328 kB / 291.1 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.1088, allocations: 39.59 kB / 291.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.1088, allocations: 1.406 kB / 291.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001306/0.1101, allocations: 0.5541 MB / 291.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.1101, allocations: 56.78 kB / 291.8 MB, free: 19.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1102, allocations: 196.6 kB / 292 MB, free: 19.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1102, allocations: 32.36 kB / 292 MB, free: 19.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1103, allocations: 124.8 kB / 292.1 MB, free: 19.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1103, allocations: 86.22 kB / 292.2 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.1104, allocations: 66.12 kB / 292.3 MB, free: 19.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.1104, allocations: 333.8 kB / 292.6 MB, free: 19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.1105, allocations: 56.64 kB / 292.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1106, allocations: 58.91 kB / 292.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1108, allocations: 161.7 kB / 292.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1108, allocations: 0.6562 kB / 292.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006248/0.1114, allocations: 361.7 kB / 293.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1114, allocations: 5.297 kB / 293.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1114, allocations: 0 / 293.2 MB, free: 18.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008071/0.1122, allocations: 297.2 kB / 293.5 MB, free: 18.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1123, allocations: 46.58 kB / 293.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.1139, allocations: 1.756 MB / 295.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.114, allocations: 27.67 kB / 295.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.114, allocations: 7.844 kB / 295.4 MB, free: 17.74 MB / 266.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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.1141, allocations: 120.9 kB / 295.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1141, allocations: 25.53 kB / 295.5 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.1148, allocations: 378.4 kB / 295.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1148, allocations: 6.531 kB / 295.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1148, allocations: 1.859 kB / 295.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1148, allocations: 1.078 kB / 295.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1149, allocations: 183.6 kB / 296.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1149, allocations: 1.062 kB / 296.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.115, allocations: 30.92 kB / 296.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/0.1158, allocations: 297.1 kB / 296.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1158, allocations: 4.906 kB / 296.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.1171, allocations: 1.723 MB / 298.1 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1171, allocations: 1.344 kB / 298.1 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.1177, allocations: 471.7 kB / 298.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.1177, allocations: 28.5 kB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1177, allocations: 4.5 kB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.1178, allocations: 9.984 kB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.1179, allocations: 23.66 kB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1179, allocations: 9.812 kB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.118, allocations: 53.53 kB / 298.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.118, allocations: 0 / 298.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.1183, allocations: 98.83 kB / 298.8 MB, free: 16.06 MB / 266.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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.1184, allocations: 97.19 kB / 298.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.1191, allocations: 443 kB / 299.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1191, allocations: 5.469 kB / 299.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.1195, allocations: 355.5 kB / 299.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1197, allocations: 35.42 kB / 299.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.1205, allocations: 459.8 kB / 300.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.1206, allocations: 89.98 kB / 300.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.1206, allocations: 26.53 kB / 300.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.1207, allocations: 90.33 kB / 300.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1207, allocations: 0 / 300.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Templates: time 0.00724/0.128, allocations: 6.426 MB / 306.8 MB, free: 12.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.662837313953787]