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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009894, allocations: 113.5 kB / 17.02 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008904/0.0008904, allocations: 195.1 kB / 17.96 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1593/0.1593, allocations: 37.99 MB / 309.2 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.36 kB / 431.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08139/0.08269, allocations: 55.24 MB / 487.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004777/0.08749, allocations: 4.043 MB / 491.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.08884, allocations: 0.9358 MB / 492 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.08901, allocations: 15.88 kB / 492 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.0892, allocations: 51.56 kB / 492.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.08965, allocations: 179 kB / 492.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.08985, allocations: 91.81 kB / 492.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.09025, allocations: 402.5 kB / 492.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.09046, allocations: 130.2 kB / 492.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.0907, allocations: 171.3 kB / 493 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.09101, allocations: 203.2 kB / 493.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.09106, allocations: 20 kB / 493.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.09111, allocations: 24 kB / 493.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.09123, allocations: 111.7 kB / 493.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.09138, allocations: 143.2 kB / 493.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.09165, allocations: 322.8 kB / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.09166, allocations: 0 / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09167, allocations: 0 / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.09169, allocations: 0 / 493.9 MB, free: 1.531 MB / 366.1 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.0008981/0.09259, allocations: 0.6206 MB / 494.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.09263, allocations: 11.89 kB / 494.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.0927, allocations: 40.47 kB / 494.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.0931, allocations: 347 kB / 494.9 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.09313, allocations: 16.94 kB / 494.9 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.09317, allocations: 28.12 kB / 494.9 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.09357, allocations: 308.5 kB / 495.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.09359, allocations: 4 kB / 495.2 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.09362, allocations: 12 kB / 495.2 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.09363, allocations: 4 kB / 495.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.09396, allocations: 217.5 kB / 495.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.0953, allocations: 1.356 MB / 496.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.09561, allocations: 145.2 kB / 496.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.09572, allocations: 61.75 kB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.09575, allocations: 3.938 kB / 497 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.09577, allocations: 30.56 kB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.09578, allocations: 4 kB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000675/0.09646, allocations: 372 kB / 497.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.09651, allocations: 81.11 kB / 497.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.09673, allocations: 255 kB / 497.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.09675, allocations: 25.7 kB / 497.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.09686, allocations: 203.5 kB / 498 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.09691, allocations: 51.34 kB / 498 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.09697, allocations: 45.83 kB / 498 MB, free: 13.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09708, allocations: 338.8 kB / 498.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.09718, allocations: 63.89 kB / 498.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.09732, allocations: 152.7 kB / 498.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.09758, allocations: 232.6 kB / 498.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09759, allocations: 0 / 498.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003224/0.09792, allocations: 241 kB / 499.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.09794, allocations: 8 kB / 499.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.09795, allocations: 8.422 kB / 499.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.09797, allocations: 8 kB / 499.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.09815, allocations: 51.91 kB / 499.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.09817, allocations: 7.938 kB / 499.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.0983, allocations: 19.89 kB / 499.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.09832, allocations: 8 kB / 499.2 MB, free: 11.82 MB / 382.1 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.0001219/0.09845, allocations: 161.7 kB / 499.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.0985, allocations: 23.72 kB / 499.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.0988, allocations: 191.3 kB / 499.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.09882, allocations: 8 kB / 499.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09883, allocations: 0 / 499.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.09883, allocations: 0 / 499.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.09942, allocations: 0.5538 MB / 0.4884 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.09943, allocations: 0 / 0.4884 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.09957, allocations: 31.92 kB / 0.4884 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09958, allocations: 0 / 0.4884 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.0996, allocations: 8 kB / 0.4884 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.09961, allocations: 3.938 kB / 0.4884 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09961, allocations: 7.969 kB / 0.4884 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.0999, allocations: 292.7 kB / 0.4887 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.09997, allocations: 96.73 kB / 0.4888 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1, allocations: 11.98 kB / 0.4888 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1001, allocations: 7.875 kB / 0.4888 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.1002, allocations: 23.92 kB / 0.4888 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1002, allocations: 8 kB / 0.4888 GB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1003, allocations: 182 kB / 0.489 GB, free: 10.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1003, allocations: 0 / 0.489 GB, free: 10.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1006, allocations: 48 kB / 0.4891 GB, free: 10.06 MB / 382.1 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 7.895e-05/0.1007, allocations: 99.25 kB / 0.4892 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.101, allocations: 160 kB / 0.4893 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.101, allocations: 0 / 0.4893 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1011, allocations: 75.84 kB / 0.4894 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1015, allocations: 57.58 kB / 0.4894 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.1022, allocations: 0.5121 MB / 0.4899 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1025, allocations: 0.7792 MB / 0.4907 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.1026, allocations: 46.25 kB / 0.4907 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.1027, allocations: 23.42 kB / 0.4908 GB, free: 8.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1027, allocations: 0 / 0.4908 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004513/0.1072, allocations: 2.216 MB / 0.4929 GB, free: 6.031 MB / 382.1 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)