Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 100.6 kB / 16.45 MB, free: 6.441 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.001067/0.001067, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04628/0.04628, allocations: 8.089 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1094, allocations: 51.5 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002938/0.1124, allocations: 1.743 MB / 467.7 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1142, allocations: 1.329 MB / 469.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.1143, allocations: 8 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1146, allocations: 103.4 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1149, allocations: 95.31 kB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.1159, allocations: 462 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1161, allocations: 222.9 kB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1163, allocations: 110.4 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1165, allocations: 103.6 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1167, allocations: 147.4 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.1168, allocations: 28 kB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.117, allocations: 116 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.1171, allocations: 51.77 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1172, allocations: 123.4 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.1176, allocations: 330.7 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1176, allocations: 0 / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1176, allocations: 0 / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1176, allocations: 0 / 470.9 MB, free: 13.22 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001721/0.1194, allocations: 0.6743 MB / 471.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1194, allocations: 8.031 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.1195, allocations: 32.73 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1197, allocations: 206.8 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1197, allocations: 12.94 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1198, allocations: 24.38 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.1202, allocations: 296 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1203, allocations: 192 / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1203, allocations: 15.94 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1203, allocations: 4 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.1207, allocations: 241.3 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.1222, allocations: 0.9685 MB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.1229, allocations: 370.3 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1231, allocations: 85.7 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.1231, allocations: 7.984 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1231, allocations: 38.69 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.1232, allocations: 4 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001123/0.1243, allocations: 0.5173 MB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1243, allocations: 85.05 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1246, allocations: 194.6 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1246, allocations: 37.8 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.1247, allocations: 156.2 kB / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1248, allocations: 79.3 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.1248, allocations: 53.69 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.125, allocations: 326.8 kB / 475.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1251, allocations: 83.97 kB / 475.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1253, allocations: 123.4 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.1256, allocations: 215.3 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1256, allocations: 0 / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005921/0.1262, allocations: 339.3 kB / 476 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1262, allocations: 12.06 kB / 476.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1262, allocations: 0 / 476.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.1266, allocations: 73.66 kB / 476.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.1268, allocations: 47.91 kB / 476.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.129, allocations: 2.887 MB / 479.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1291, allocations: 27.77 kB / 479.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1292, allocations: 8 kB / 479.1 MB, free: 4.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001315/0.1293, allocations: 141.8 kB / 479.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.1294, allocations: 15.91 kB / 479.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.13, allocations: 304.5 kB / 479.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.13, allocations: 0 / 479.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.13, allocations: 4 kB / 479.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.13, allocations: 3.984 kB / 479.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.1307, allocations: 0.5576 MB / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1307, allocations: 0 / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1308, allocations: 27.98 kB / 480.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.1311, allocations: 69.66 kB / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1312, allocations: 4 kB / 480.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.1332, allocations: 2.875 MB / 483.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1332, allocations: 4.031 kB / 483.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.1338, allocations: 428.5 kB / 483.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1339, allocations: 100.9 kB / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1339, allocations: 8 kB / 483.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1342, allocations: 19.92 kB / 483.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1342, allocations: 15.97 kB / 483.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1342, allocations: 8 kB / 483.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.1344, allocations: 148.2 kB / 483.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 483.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.1348, allocations: 83.84 kB / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002334/0.1351, allocations: 114 kB / 484 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.1359, allocations: 464.7 kB / 484.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1359, allocations: 0 / 484.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.1363, allocations: 329.2 kB / 484.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.1368, allocations: 28.11 kB / 484.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.1376, allocations: 427.3 kB / 485.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1379, allocations: 0.7402 MB / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.138, allocations: 25.52 kB / 486 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.138, allocations: 19.44 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.138, allocations: 0 / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.006063/0.1441, allocations: 3.114 MB / 489.1 MB, free: 9.863 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)