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.001311/0.00131, allocations: 103.6 kB / 16.45 MB, free: 6.43 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.001471/0.001471, allocations: 190.1 kB / 17.38 MB, free: 5.695 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05383/0.05383, allocations: 8.096 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 414.5 MB, free: 21.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 51.51 MB / 466 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003017/0.1104, allocations: 1.739 MB / 467.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1126, allocations: 1.337 MB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.1127, allocations: 4 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1131, allocations: 95.48 kB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1134, allocations: 99.31 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.1143, allocations: 457.9 kB / 469.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1145, allocations: 226.8 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1148, allocations: 122.4 kB / 470 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1149, allocations: 95.64 kB / 470.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1152, allocations: 151.4 kB / 470.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1152, allocations: 20 kB / 470.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1154, allocations: 127.9 kB / 470.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1155, allocations: 47.83 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.1156, allocations: 111.4 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.116, allocations: 334.9 kB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.116, allocations: 0 / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.116, allocations: 4 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.116, allocations: 0 / 470.9 MB, free: 13.12 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.001642/0.1177, allocations: 0.6592 MB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1177, allocations: 11.97 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.1178, allocations: 24.66 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.118, allocations: 218.4 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.118, allocations: 16.94 kB / 471.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1181, allocations: 20.38 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.1185, allocations: 292.1 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1185, allocations: 192 / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1186, allocations: 15.94 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1186, allocations: 4 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.1189, allocations: 241.2 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1204, allocations: 0.9566 MB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.1211, allocations: 374.4 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1213, allocations: 93.83 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.1213, allocations: 3.984 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.1214, allocations: 42.56 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.1214, allocations: 0 / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001142/0.1225, allocations: 0.521 MB / 474.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1226, allocations: 85.11 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1228, allocations: 198.6 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1228, allocations: 29.8 kB / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.1229, allocations: 155.9 kB / 474.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.123, allocations: 67.02 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1231, allocations: 49.69 kB / 475 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1232, allocations: 330.8 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1233, allocations: 87.97 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1235, allocations: 127.4 kB / 475.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1238, allocations: 211.3 kB / 475.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1238, allocations: 0 / 475.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006002/0.1244, allocations: 338.5 kB / 476 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1244, allocations: 4 kB / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1244, allocations: 4 kB / 476 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.1248, allocations: 81.58 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.125, allocations: 43.97 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.1272, allocations: 2.875 MB / 479 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1274, allocations: 27.72 kB / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1274, allocations: 11.98 kB / 479.1 MB, free: 4.32 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.0001377/0.1276, allocations: 145.9 kB / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.1276, allocations: 15.81 kB / 479.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.1282, allocations: 304.9 kB / 479.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1282, allocations: 4 kB / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1282, allocations: 0 / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1283, allocations: 0 / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.129, allocations: 0.5537 MB / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.129, allocations: 4 kB / 480.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1291, allocations: 27.98 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.1294, allocations: 77.59 kB / 480.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1295, allocations: 8 kB / 480.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1315, allocations: 2.871 MB / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1316, allocations: 0 / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.1322, allocations: 431.5 kB / 483.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.1323, allocations: 108.8 kB / 483.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1323, allocations: 0 / 483.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1325, allocations: 23.86 kB / 483.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1326, allocations: 19.92 kB / 483.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1326, allocations: 7.984 kB / 483.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1328, allocations: 156.2 kB / 483.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1328, allocations: 0 / 483.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.1332, allocations: 71.84 kB / 483.9 MB, free: 15.11 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.000196/0.1334, allocations: 103.2 kB / 484 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007772/0.1342, allocations: 461 kB / 484.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1342, allocations: 0 / 484.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.1346, allocations: 341.4 kB / 484.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1351, allocations: 16 kB / 484.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.1359, allocations: 435.6 kB / 485.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1362, allocations: 0.7363 MB / 485.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1363, allocations: 37.52 kB / 486 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.1364, allocations: 23.42 kB / 486 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1364, allocations: 0 / 486 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.006332/0.1427, allocations: 3.102 MB / 489.1 MB, free: 9.793 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)