Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 106.5 kB / 16.45 MB, free: 6.434 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.001225/0.001225, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05134/0.05134, allocations: 8.102 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09758, allocations: 51.5 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002515/0.1001, allocations: 1.244 MB / 467.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1021, allocations: 1.477 MB / 468.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.1022, allocations: 4 kB / 468.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1026, allocations: 103.5 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1029, allocations: 75.53 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.1044, allocations: 0.9021 MB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1046, allocations: 163.2 kB / 469.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1048, allocations: 53.52 kB / 470 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.1049, allocations: 59.78 kB / 470 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.105, allocations: 87.61 kB / 470.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1051, allocations: 12 kB / 470.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1054, allocations: 199.8 kB / 470.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1054, allocations: 35.84 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1056, allocations: 79.59 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.106, allocations: 310.9 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.106, allocations: 0 / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.106, allocations: 0 / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.106, allocations: 0 / 470.8 MB, free: 13.36 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001627/0.1076, allocations: 0.6428 MB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1077, allocations: 8.031 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1077, allocations: 16.84 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.108, allocations: 216.8 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.108, allocations: 16.53 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1081, allocations: 16.38 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1084, allocations: 179.6 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1084, allocations: 0 / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1084, allocations: 4 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.1084, allocations: 11.92 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.1087, allocations: 156.6 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.1096, allocations: 0.7108 MB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.1101, allocations: 198.5 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1102, allocations: 92.84 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.1103, allocations: 3.984 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1103, allocations: 42.56 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1103, allocations: 3.938 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001642/0.112, allocations: 0.5689 MB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.112, allocations: 55.41 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1122, allocations: 167.8 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1123, allocations: 29.7 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.1123, allocations: 120.3 kB / 474 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1124, allocations: 51.53 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1125, allocations: 45.7 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1126, allocations: 322.8 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1128, allocations: 91.97 kB / 474.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1129, allocations: 98.81 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1133, allocations: 220.6 kB / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1133, allocations: 0 / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007885/0.1141, allocations: 380.5 kB / 475.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1141, allocations: 4 kB / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1141, allocations: 3.938 kB / 475.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.1147, allocations: 144.7 kB / 475.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1149, allocations: 27.92 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.1173, allocations: 2.04 MB / 477.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1174, allocations: 8.078 kB / 477.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1174, allocations: 16.06 kB / 477.4 MB, free: 6.289 MB / 350.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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1175, allocations: 129.8 kB / 477.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.1176, allocations: 19.91 kB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.1184, allocations: 359.2 kB / 477.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1184, allocations: 4 kB / 477.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1184, allocations: 3.938 kB / 477.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1184, allocations: 3.984 kB / 477.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.1187, allocations: 301.3 kB / 478.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1187, allocations: 0 / 478.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.1188, allocations: 19.98 kB / 478.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.1194, allocations: 132.7 kB / 478.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1194, allocations: 11.98 kB / 478.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.1214, allocations: 2.013 MB / 480.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1214, allocations: 0 / 480.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.1222, allocations: 427.1 kB / 480.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.1222, allocations: 96.89 kB / 480.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1223, allocations: 12.06 kB / 480.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1224, allocations: 7.984 kB / 480.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1225, allocations: 19.92 kB / 480.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1225, allocations: 4 kB / 480.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1226, allocations: 132 kB / 481.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1226, allocations: 0 / 481.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1229, allocations: 64 kB / 481.1 MB, free: 2.324 MB / 350.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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.1231, allocations: 115.1 kB / 481.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.1238, allocations: 386.4 kB / 481.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1239, allocations: 0 / 481.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.1243, allocations: 258.5 kB / 481.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1246, allocations: 19.98 kB / 481.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.1252, allocations: 358.9 kB / 482.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1254, allocations: 0.7162 MB / 483 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1255, allocations: 25.47 kB / 483 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1256, allocations: 15.44 kB / 483 MB, free: 368 kB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1256, allocations: 4 kB / 483 MB, free: 364 kB / 350.1 MB Notification: Performance of Templates: time 0.006736/0.1323, allocations: 4.08 MB / 487.1 MB, free: 12.3 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)