Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 181.5 kB / 8.009 MB, free: 1.066 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.001/2.001, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001075/0.001075, allocations: 86.64 kB / 261.8 MB, free: 1.672 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.249/0.249, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.467e-05, allocations: 0 / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6226, allocations: 101 MB / 0.5539 GB, free: 9.234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6229, allocations: 91.66 kB / 0.5539 GB, free: 9.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06419/0.6871, allocations: 15.61 MB / 0.5692 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6872, allocations: 0.75 kB / 0.5692 GB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.896e-05/0.6872, allocations: 12 kB / 0.5692 GB, free: 13.4 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00196/0.6892, allocations: 0.7869 MB / 0.57 GB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/0.6893, allocations: 8.031 kB / 0.57 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/0.6901, allocations: 90.48 kB / 0.5701 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.6927, allocations: 0.6934 MB / 0.5707 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6928, allocations: 16 kB / 0.5708 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6929, allocations: 24 kB / 0.5708 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/0.6944, allocations: 0.6055 MB / 0.5714 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.6961, allocations: 0.786 MB / 0.5721 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.6962, allocations: 7.891 kB / 0.5721 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.6962, allocations: 4 kB / 0.5721 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.6965, allocations: 55.48 kB / 0.5722 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006376/0.7029, allocations: 2.646 MB / 0.5748 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7042, allocations: 0.601 MB / 0.5754 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/0.7051, allocations: 486.7 kB / 0.5758 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.7051, allocations: 7.984 kB / 0.5758 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.7052, allocations: 45.92 kB / 0.5759 GB, free: 7.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/0.7052, allocations: 4 kB / 0.5759 GB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.005147/0.7104, allocations: 1.672 MB / 0.5775 GB, free: 6.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.7105, allocations: 137.2 kB / 0.5777 GB, free: 6.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.7109, allocations: 235.5 kB / 0.5779 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/0.711, allocations: 29.7 kB / 0.5779 GB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.7112, allocations: 292.6 kB / 0.5782 GB, free: 5.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.7114, allocations: 201.8 kB / 0.5784 GB, free: 5.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.7115, allocations: 3.938 kB / 0.5784 GB, free: 5.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7117, allocations: 337.5 kB / 0.5787 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.7124, allocations: 363.6 kB / 0.579 GB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.7132, allocations: 496.4 kB / 0.5795 GB, free: 4.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.715, allocations: 0.5573 MB / 0.5801 GB, free: 3.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7151, allocations: 0 / 0.5801 GB, free: 3.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002931/0.718, allocations: 1.065 MB / 0.5811 GB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.7181, allocations: 76.8 kB / 0.5812 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.7182, allocations: 4 kB / 0.5812 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.7184, allocations: 44.62 kB / 0.5812 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.7191, allocations: 91.69 kB / 0.5813 GB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.7207, allocations: 1.37 MB / 0.5826 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.7214, allocations: 36.02 kB / 0.5827 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.7215, allocations: 27.67 kB / 0.5827 GB, free: 1.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.7219, allocations: 185.6 kB / 0.5829 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.722, allocations: 43.53 kB / 0.5829 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.7253, allocations: 1.146 MB / 0.584 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/0.7255, allocations: 27.97 kB / 0.5841 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7255, allocations: 0 / 0.5841 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7255, allocations: 3.938 kB / 0.5841 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/0.7303, allocations: 1.78 MB / 0.5858 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7303, allocations: 0 / 0.5858 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/0.7309, allocations: 67.7 kB / 0.5859 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.7311, allocations: 30.16 kB / 0.5859 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.7312, allocations: 11.98 kB / 0.5859 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.7327, allocations: 1.387 MB / 0.5873 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7327, allocations: 0 / 0.5873 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.736, allocations: 1.275 MB / 0.5885 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.7365, allocations: 186 kB / 0.5887 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7366, allocations: 8 kB / 0.5887 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.7371, allocations: 27.95 kB / 0.5887 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.7373, allocations: 47.53 kB / 0.5888 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.7374, allocations: 19.19 kB / 0.5888 GB, free: 12.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002565/0.7377, allocations: 176.7 kB / 0.589 GB, free: 11.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7377, allocations: 0 / 0.589 GB, free: 11.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008959/0.7386, allocations: 163.7 kB / 0.5891 GB, free: 11.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003715/0.739, allocations: 155.1 kB / 0.5893 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.7416, allocations: 1.412 MB / 0.5906 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7416, allocations: 0 / 0.5906 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.7432, allocations: 0.9469 MB / 0.5916 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.7439, allocations: 54.7 kB / 0.5916 GB, free: 9.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.7468, allocations: 1.252 MB / 0.5928 GB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.7475, allocations: 0.918 MB / 0.5937 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.7478, allocations: 31.42 kB / 0.5938 GB, free: 7.938 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7478, allocations: 3.938 kB / 0.5938 GB, free: 7.934 MB / 394.7 MB Notification: Performance of Templates: time 0.01961/0.7674, allocations: 8.559 MB / 0.6021 GB, free: 15.44 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)