Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 176.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007537/0.0007535, allocations: 90.41 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1691/0.1691, allocations: 38.08 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2607, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.3857, allocations: 94.5 MB / 0.5613 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.386, allocations: 91.95 kB / 0.5614 GB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.4046, allocations: 6.651 MB / 0.5679 GB, free: 1.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4046, allocations: 0 / 0.5679 GB, free: 1.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.4047, allocations: 15.94 kB / 0.5679 GB, free: 1.035 MB / 394.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.001096/0.4058, allocations: 0.5784 MB / 0.5685 GB, free: 420 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4058, allocations: 12.03 kB / 0.5685 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.4059, allocations: 32.56 kB / 0.5685 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.4068, allocations: 434.8 kB / 0.5689 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4068, allocations: 16.94 kB / 0.5689 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.4068, allocations: 20.38 kB / 0.5689 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.4073, allocations: 320.8 kB / 0.5692 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4074, allocations: 0 / 0.5692 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.4074, allocations: 15.94 kB / 0.5693 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4074, allocations: 4 kB / 0.5693 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.4078, allocations: 221.5 kB / 0.5695 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.4094, allocations: 1.348 MB / 0.5708 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4098, allocations: 141.6 kB / 0.5709 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.4099, allocations: 61.75 kB / 0.571 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4099, allocations: 8.203 kB / 0.571 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4099, allocations: 38.5 kB / 0.571 GB, free: 13.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/0.41, allocations: 0 / 0.571 GB, free: 13.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008208/0.4108, allocations: 363.6 kB / 0.5714 GB, free: 13.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4108, allocations: 84.98 kB / 0.5715 GB, free: 13.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.4111, allocations: 262.9 kB / 0.5717 GB, free: 12.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4111, allocations: 29.69 kB / 0.5717 GB, free: 12.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4113, allocations: 203.8 kB / 0.5719 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4113, allocations: 43.38 kB / 0.572 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.4113, allocations: 4 kB / 0.572 GB, free: 12.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4115, allocations: 346.8 kB / 0.5723 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.4116, allocations: 47.97 kB / 0.5724 GB, free: 12.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.4117, allocations: 156.8 kB / 0.5725 GB, free: 11.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.412, allocations: 221.4 kB / 0.5727 GB, free: 11.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.412, allocations: 0 / 0.5727 GB, free: 11.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004003/0.4124, allocations: 257.2 kB / 0.573 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4124, allocations: 8.031 kB / 0.573 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4125, allocations: 4 kB / 0.573 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4125, allocations: 4 kB / 0.573 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.4127, allocations: 47.91 kB / 0.573 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4127, allocations: 8 kB / 0.573 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.4128, allocations: 8 kB / 0.573 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4129, allocations: 11.98 kB / 0.5731 GB, free: 11.34 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.413, allocations: 161.6 kB / 0.5732 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.4131, allocations: 31.62 kB / 0.5732 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.4134, allocations: 191.3 kB / 0.5734 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4135, allocations: 4 kB / 0.5734 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4135, allocations: 3.938 kB / 0.5734 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4135, allocations: 0 / 0.5734 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.4142, allocations: 0.5538 MB / 0.574 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4142, allocations: 0 / 0.574 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.4143, allocations: 35.95 kB / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4143, allocations: 0 / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4143, allocations: 4 kB / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4144, allocations: 0 / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4144, allocations: 0 / 0.574 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.4147, allocations: 300.6 kB / 0.5743 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.4148, allocations: 104.8 kB / 0.5744 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4148, allocations: 4 kB / 0.5744 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.415, allocations: 7.984 kB / 0.5744 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.415, allocations: 11.92 kB / 0.5744 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.415, allocations: 8 kB / 0.5744 GB, free: 9.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.4152, allocations: 178 kB / 0.5746 GB, free: 9.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4152, allocations: 0 / 0.5746 GB, free: 9.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.4156, allocations: 56 kB / 0.5746 GB, free: 9.594 MB / 410.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 (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.0001854/0.4158, allocations: 119.2 kB / 0.5748 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.4161, allocations: 155.6 kB / 0.5749 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4161, allocations: 0 / 0.5749 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4163, allocations: 81.09 kB / 0.575 GB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.4168, allocations: 54.38 kB / 0.575 GB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.4178, allocations: 0.6689 MB / 0.5757 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4182, allocations: 0.7872 MB / 0.5765 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.4182, allocations: 27.42 kB / 0.5765 GB, free: 7.633 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4182, allocations: 0 / 0.5765 GB, free: 7.633 MB / 410.7 MB Notification: Performance of Templates: time 0.005599/0.4238, allocations: 3.215 MB / 0.5796 GB, free: 4.426 MB / 410.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)