Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002314/0.002315, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 86.64 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.265/0.265, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.199e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 56.32 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5829, allocations: 93.7 MB / 0.5468 GB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5833, allocations: 88.23 kB / 0.5468 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.6101, allocations: 6.597 MB / 0.5533 GB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6101, allocations: 0 / 0.5533 GB, free: 8.219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.6102, allocations: 7.969 kB / 0.5533 GB, free: 8.215 MB / 362.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.0009422/0.6111, allocations: 0.5553 MB / 0.5538 GB, free: 7.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6112, allocations: 11.56 kB / 0.5539 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.6113, allocations: 35.11 kB / 0.5539 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.6131, allocations: 0.5911 MB / 0.5545 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6132, allocations: 7.688 kB / 0.5545 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.6133, allocations: 15.38 kB / 0.5545 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005003/0.6138, allocations: 187.2 kB / 0.5547 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.6143, allocations: 281.3 kB / 0.5549 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6143, allocations: 3.844 kB / 0.5549 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.6144, allocations: 0 / 0.5549 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6144, allocations: 7.828 kB / 0.5549 GB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.6163, allocations: 1.299 MB / 0.5562 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.6167, allocations: 146.5 kB / 0.5563 GB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.6169, allocations: 57.84 kB / 0.5564 GB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.6169, allocations: 3.875 kB / 0.5564 GB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.6169, allocations: 30.56 kB / 0.5564 GB, free: 6.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.267e-06/0.617, allocations: 4 kB / 0.5564 GB, free: 6.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007726/0.6177, allocations: 293 kB / 0.5567 GB, free: 5.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.6178, allocations: 80.95 kB / 0.5568 GB, free: 5.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.618, allocations: 219.9 kB / 0.557 GB, free: 5.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6181, allocations: 25.7 kB / 0.557 GB, free: 5.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6182, allocations: 260.1 kB / 0.5573 GB, free: 5.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.6182, allocations: 46.23 kB / 0.5573 GB, free: 5.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.6183, allocations: 0 / 0.5573 GB, free: 5.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.6183, allocations: 326.6 kB / 0.5576 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6185, allocations: 47.03 kB / 0.5577 GB, free: 5.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.6186, allocations: 141.1 kB / 0.5578 GB, free: 4.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.6188, allocations: 79.55 kB / 0.5579 GB, free: 4.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6188, allocations: 0 / 0.5579 GB, free: 4.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004302/0.6192, allocations: 205.7 kB / 0.5581 GB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6193, allocations: 8.125 kB / 0.5581 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6193, allocations: 0 / 0.5581 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6193, allocations: 11.69 kB / 0.5581 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.6197, allocations: 46.22 kB / 0.5581 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6197, allocations: 7.594 kB / 0.5582 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.62, allocations: 3.812 kB / 0.5582 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.62, allocations: 14.83 kB / 0.5582 GB, free: 4.785 MB / 362.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 8.602e-05/0.6201, allocations: 116.7 kB / 0.5583 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.6202, allocations: 23.25 kB / 0.5583 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.6206, allocations: 179.5 kB / 0.5585 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6206, allocations: 3.844 kB / 0.5585 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6207, allocations: 4 kB / 0.5585 GB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6207, allocations: 3.984 kB / 0.5585 GB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.6215, allocations: 0.4959 MB / 0.559 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6215, allocations: 3.875 kB / 0.559 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.6218, allocations: 30.83 kB / 0.559 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6218, allocations: 0 / 0.559 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.6218, allocations: 3.406 kB / 0.559 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6218, allocations: 7.5 kB / 0.559 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6218, allocations: 0 / 0.559 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.6222, allocations: 301.2 kB / 0.5593 GB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.6223, allocations: 104.6 kB / 0.5594 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.6224, allocations: 3.984 kB / 0.5594 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6226, allocations: 7.531 kB / 0.5594 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.6226, allocations: 11.88 kB / 0.5594 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6226, allocations: 3.844 kB / 0.5594 GB, free: 3.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6228, allocations: 170.7 kB / 0.5596 GB, free: 3.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6228, allocations: 0 / 0.5596 GB, free: 3.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.6233, allocations: 45.59 kB / 0.5596 GB, free: 3.789 MB / 362.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.000172/0.6235, allocations: 120.8 kB / 0.5598 GB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6239, allocations: 140.2 kB / 0.5599 GB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6239, allocations: 3.938 kB / 0.5599 GB, free: 3.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6241, allocations: 71.34 kB / 0.56 GB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.6246, allocations: 47.78 kB / 0.56 GB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.6254, allocations: 367.5 kB / 0.5604 GB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.6257, allocations: 0.7944 MB / 0.5611 GB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6258, allocations: 26.25 kB / 0.5612 GB, free: 2.648 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6258, allocations: 0 / 0.5612 GB, free: 2.648 MB / 362.7 MB Notification: Performance of Templates: time 0.007047/0.6329, allocations: 3.171 MB / 0.5643 GB, free: 15.79 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)