Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001425/0.001425, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.309/1.309, allocations: 194.2 MB / 212.2 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00165/0.00165, allocations: 122 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1647/0.1647, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.0956, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004336/0.09998, allocations: 4.689 MB / 458.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1013, allocations: 1.123 MB / 459.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.1015, allocations: 27.81 kB / 459.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.1016, allocations: 43.62 kB / 459.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.102, allocations: 167.2 kB / 460 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1022, allocations: 75.92 kB / 460.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.1026, allocations: 0.5687 MB / 460.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1028, allocations: 97.69 kB / 460.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1029, allocations: 159.2 kB / 460.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.1032, allocations: 215.2 kB / 461.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1033, allocations: 12 kB / 461.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.1033, allocations: 16 kB / 461.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.1034, allocations: 107.7 kB / 461.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1035, allocations: 143.2 kB / 461.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1037, allocations: 294.9 kB / 461.7 MB, free: 8.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1037, allocations: 0 / 461.7 MB, free: 8.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1037, allocations: 0 / 461.7 MB, free: 8.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.1037, allocations: 0 / 461.7 MB, free: 8.828 MB / 314.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.0008749/0.1046, allocations: 0.6284 MB / 462.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1047, allocations: 8.031 kB / 462.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1047, allocations: 36.47 kB / 462.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1051, allocations: 319.1 kB / 462.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1051, allocations: 16.94 kB / 462.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1051, allocations: 23.94 kB / 462.7 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.1055, allocations: 316.5 kB / 463 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1055, allocations: 3.984 kB / 463 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1055, allocations: 12 kB / 463 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1055, allocations: 4 kB / 463 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.1058, allocations: 217.5 kB / 463.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.1069, allocations: 1.36 MB / 464.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1072, allocations: 145.2 kB / 464.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.1073, allocations: 61.69 kB / 464.8 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1073, allocations: 4 kB / 464.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.1073, allocations: 38.5 kB / 464.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1073, allocations: 0 / 464.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005981/0.1079, allocations: 371.7 kB / 465.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.108, allocations: 77.11 kB / 465.3 MB, free: 4.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1081, allocations: 255 kB / 465.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1082, allocations: 29.7 kB / 465.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.1082, allocations: 203.5 kB / 465.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1083, allocations: 51.47 kB / 465.8 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.1083, allocations: 45.7 kB / 465.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.1084, allocations: 338.8 kB / 466.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1085, allocations: 55.95 kB / 466.3 MB, free: 3.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.1086, allocations: 155.8 kB / 466.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1088, allocations: 232.6 kB / 466.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1088, allocations: 0 / 466.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002623/0.109, allocations: 245 kB / 466.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1091, allocations: 8.438 kB / 466.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1091, allocations: 8 kB / 466.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1091, allocations: 4 kB / 466.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1093, allocations: 51.91 kB / 466.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1093, allocations: 4 kB / 467 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1094, allocations: 15.89 kB / 467 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1094, allocations: 11.94 kB / 467 MB, free: 3.137 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1095, allocations: 161.7 kB / 467.1 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1096, allocations: 27.72 kB / 467.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1098, allocations: 203.2 kB / 467.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1099, allocations: 0 / 467.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1099, allocations: 0 / 467.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1099, allocations: 4 kB / 467.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1104, allocations: 0.5538 MB / 467.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1104, allocations: 0 / 467.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1105, allocations: 27.98 kB / 467.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1105, allocations: 0 / 467.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1105, allocations: 11.97 kB / 468 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1105, allocations: 7.938 kB / 468 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1106, allocations: 0 / 468 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.111, allocations: 0.9359 MB / 468.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1111, allocations: 100.8 kB / 469 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1111, allocations: 7.938 kB / 469 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1112, allocations: 8 kB / 469 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1113, allocations: 11.97 kB / 469 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1113, allocations: 7.984 kB / 469 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1114, allocations: 182 kB / 469.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1114, allocations: 3.938 kB / 469.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.1118, allocations: 52 kB / 469.3 MB, free: 0.6914 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.112, allocations: 99.25 kB / 469.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1122, allocations: 152.6 kB / 469.5 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1123, allocations: 0 / 469.5 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1124, allocations: 79.89 kB / 469.6 MB, free: 364 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1129, allocations: 57.8 kB / 469.7 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1139, allocations: 0.7812 MB / 470.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1143, allocations: 0.7911 MB / 471.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.1145, allocations: 38.28 kB / 471.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.1145, allocations: 27.42 kB / 471.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1145, allocations: 0 / 471.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.005174/0.1197, allocations: 2.181 MB / 473.5 MB, free: 12.41 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)