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.001576/0.001576, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.437/1.437, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.002016/0.002016, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1549/0.1549, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.131e-05, allocations: 4 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3498, allocations: 89.33 MB / 0.5274 GB, free: 4.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.3502, allocations: 91.92 kB / 0.5275 GB, free: 3.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2572/0.6073, allocations: 6.639 MB / 0.534 GB, free: 87.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6074, allocations: 0 / 0.534 GB, free: 87.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.6074, allocations: 6.062 kB / 0.534 GB, free: 87.25 MB / 378.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.0008744/0.6083, allocations: 0.5454 MB / 0.5345 GB, free: 86.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6084, allocations: 10.7 kB / 0.5346 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.6085, allocations: 37.34 kB / 0.5346 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.6098, allocations: 0.604 MB / 0.5352 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.6099, allocations: 15.41 kB / 0.5352 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.6099, allocations: 20.36 kB / 0.5352 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.6104, allocations: 309.2 kB / 0.5355 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6104, allocations: 4.562 kB / 0.5355 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.6105, allocations: 12.86 kB / 0.5355 GB, free: 86.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.6105, allocations: 6.219 kB / 0.5355 GB, free: 86.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.6109, allocations: 210.8 kB / 0.5357 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.6123, allocations: 1.344 MB / 0.537 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.6126, allocations: 137.1 kB / 0.5372 GB, free: 85.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.6127, allocations: 61.05 kB / 0.5372 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.6127, allocations: 9.297 kB / 0.5372 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.6128, allocations: 35.48 kB / 0.5373 GB, free: 85.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.6128, allocations: 0 / 0.5373 GB, free: 85.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006627/0.6134, allocations: 321.8 kB / 0.5376 GB, free: 85.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6135, allocations: 80.45 kB / 0.5377 GB, free: 85.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.6137, allocations: 230.4 kB / 0.5379 GB, free: 84.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.6137, allocations: 26.92 kB / 0.5379 GB, free: 84.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.6138, allocations: 205.2 kB / 0.5381 GB, free: 84.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.6139, allocations: 41.02 kB / 0.5381 GB, free: 84.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.6139, allocations: 5.375 kB / 0.5381 GB, free: 84.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.6139, allocations: 337.6 kB / 0.5385 GB, free: 84.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.614, allocations: 49.03 kB / 0.5385 GB, free: 84.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.6141, allocations: 147.3 kB / 0.5387 GB, free: 84.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6143, allocations: 89.05 kB / 0.5387 GB, free: 84.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6143, allocations: 1 kB / 0.5387 GB, free: 84.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003407/0.6146, allocations: 242.4 kB / 0.539 GB, free: 84.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6147, allocations: 5.406 kB / 0.539 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6147, allocations: 7.5 kB / 0.539 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6147, allocations: 9.984 kB / 0.539 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.6149, allocations: 50.17 kB / 0.539 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6149, allocations: 5.156 kB / 0.539 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.6151, allocations: 9.469 kB / 0.5391 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.6151, allocations: 11.38 kB / 0.5391 GB, free: 84.05 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.6152, allocations: 121 kB / 0.5392 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.6152, allocations: 26.38 kB / 0.5392 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.6156, allocations: 200.7 kB / 0.5394 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6156, allocations: 2.25 kB / 0.5394 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6156, allocations: 5.141 kB / 0.5394 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6156, allocations: 0 / 0.5394 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.6162, allocations: 0.5474 MB / 0.5399 GB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6162, allocations: 8.219 kB / 0.54 GB, free: 83.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6164, allocations: 29.06 kB / 0.54 GB, free: 83.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6164, allocations: 6.375 kB / 0.54 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.6164, allocations: 9.047 kB / 0.54 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6164, allocations: 5.297 kB / 0.54 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6164, allocations: 1.031 kB / 0.54 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.6167, allocations: 313.9 kB / 0.5403 GB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.6167, allocations: 100.5 kB / 0.5404 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.6168, allocations: 1.156 kB / 0.5404 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6169, allocations: 6.25 kB / 0.5404 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.617, allocations: 9.891 kB / 0.5404 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.617, allocations: 3.594 kB / 0.5404 GB, free: 83.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.6171, allocations: 179.3 kB / 0.5406 GB, free: 82.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6171, allocations: 0 / 0.5406 GB, free: 82.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.6175, allocations: 65.03 kB / 0.5406 GB, free: 82.93 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.6176, allocations: 116.7 kB / 0.5408 GB, free: 82.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.6179, allocations: 146.9 kB / 0.5409 GB, free: 82.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6179, allocations: 0 / 0.5409 GB, free: 82.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.618, allocations: 74.81 kB / 0.541 GB, free: 82.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.6184, allocations: 57.09 kB / 0.541 GB, free: 82.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.619, allocations: 348 kB / 0.5414 GB, free: 82.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.6193, allocations: 0.7864 MB / 0.5421 GB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.6194, allocations: 46.09 kB / 0.5422 GB, free: 81.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.6195, allocations: 29.17 kB / 0.5422 GB, free: 81.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6195, allocations: 0.5312 kB / 0.5422 GB, free: 81.81 MB / 378.7 MB Notification: Performance of Templates: time 0.00531/0.6248, allocations: 2.133 MB / 0.5443 GB, free: 81.64 MB / 378.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)