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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 104.1 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05243/0.05243, allocations: 8.096 MB / 348.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 53.7 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09531, allocations: 51.52 MB / 462.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.00277/0.09812, allocations: 1.771 MB / 464.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.09955, allocations: 1.333 MB / 465.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.09964, allocations: 4 kB / 465.7 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.09994, allocations: 91.66 kB / 465.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1001, allocations: 75.52 kB / 465.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.1008, allocations: 441.9 kB / 466.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.101, allocations: 214.9 kB / 466.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1012, allocations: 102.9 kB / 466.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.1012, allocations: 95.58 kB / 466.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1015, allocations: 143.5 kB / 466.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1015, allocations: 16 kB / 466.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1017, allocations: 115.9 kB / 467 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1018, allocations: 47.77 kB / 467 MB, free: 1.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.1019, allocations: 107.4 kB / 467.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1022, allocations: 327.3 kB / 467.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1022, allocations: 4 kB / 467.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1022, allocations: 0 / 467.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1022, allocations: 0 / 467.5 MB, free: 1.199 MB / 298.7 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.001486/0.1037, allocations: 0.663 MB / 468.1 MB, free: 496 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1037, allocations: 16.03 kB / 468.1 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.1038, allocations: 24.66 kB / 468.2 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.104, allocations: 207.9 kB / 468.4 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.104, allocations: 20.94 kB / 468.4 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.104, allocations: 20.38 kB / 468.4 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1044, allocations: 292.1 kB / 468.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1045, allocations: 192 / 468.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.1045, allocations: 7.938 kB / 468.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1045, allocations: 12 kB / 468.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.1048, allocations: 245.2 kB / 469 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1062, allocations: 0.976 MB / 469.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.1069, allocations: 362.5 kB / 470.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.1071, allocations: 93.7 kB / 470.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.1071, allocations: 11.97 kB / 470.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1072, allocations: 34.56 kB / 470.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1072, allocations: 0 / 470.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001163/0.1083, allocations: 0.525 MB / 471 MB, free: 13.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1084, allocations: 77.11 kB / 471 MB, free: 13.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1086, allocations: 194.9 kB / 471.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1087, allocations: 29.7 kB / 471.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1088, allocations: 152 kB / 471.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.1089, allocations: 75 kB / 471.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.109, allocations: 61.53 kB / 471.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1091, allocations: 326.8 kB / 471.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1092, allocations: 91.91 kB / 471.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1094, allocations: 119.9 kB / 472.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1097, allocations: 222.8 kB / 472.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1098, allocations: 3.938 kB / 472.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006067/0.1104, allocations: 334.9 kB / 472.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1104, allocations: 8 kB / 472.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1104, allocations: 0 / 472.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004182/0.1108, allocations: 73.72 kB / 472.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.111, allocations: 47.91 kB / 472.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.1131, allocations: 2.686 MB / 475.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1134, allocations: 19.88 kB / 475.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.1134, allocations: 8 kB / 475.4 MB, free: 8.59 MB / 314.7 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.0001985/0.1136, allocations: 146.6 kB / 475.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1137, allocations: 19.75 kB / 475.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.1143, allocations: 292.5 kB / 475.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1143, allocations: 4 kB / 475.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1143, allocations: 4 kB / 475.9 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1143, allocations: 3.984 kB / 475.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.115, allocations: 0.5536 MB / 476.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.1151, allocations: 4 kB / 476.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1152, allocations: 27.94 kB / 476.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.1155, allocations: 81.58 kB / 476.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1155, allocations: 8 kB / 476.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.1173, allocations: 2.662 MB / 479.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1173, allocations: 3.938 kB / 479.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.1183, allocations: 1.063 MB / 480.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.1183, allocations: 101.1 kB / 480.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1184, allocations: 3.906 kB / 480.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1186, allocations: 19.92 kB / 480.4 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1186, allocations: 15.98 kB / 480.4 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1187, allocations: 8 kB / 480.4 MB, free: 3.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1189, allocations: 160.7 kB / 480.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1189, allocations: 0 / 480.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005768/0.1195, allocations: 71.84 kB / 480.7 MB, free: 2.926 MB / 314.7 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.0001995/0.1197, allocations: 119.1 kB / 480.8 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007387/0.1204, allocations: 453.1 kB / 481.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1204, allocations: 4 kB / 481.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.1208, allocations: 333.4 kB / 481.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1213, allocations: 28.62 kB / 481.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.1221, allocations: 0.6707 MB / 482.3 MB, free: 1.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1224, allocations: 0.744 MB / 483 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1225, allocations: 33.52 kB / 483 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.1226, allocations: 23.44 kB / 483.1 MB, free: 420 kB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1226, allocations: 3.938 kB / 483.1 MB, free: 416 kB / 314.7 MB Notification: Performance of Templates: time 0.1732/0.2957, allocations: 3.039 MB / 486.1 MB, free: 27.46 MB / 314.7 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)