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.00154/0.00154, allocations: 179.4 kB / 17.4 MB, free: 4.422 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.535/1.535, allocations: 194.5 MB / 212.6 MB, free: 2.957 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.001771/0.001771, allocations: 114.9 kB / 257.9 MB, free: 4.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1791/0.1791, allocations: 38 MB / 341.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003613, allocations: 16 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09517, allocations: 53.23 MB / 458.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.4727, allocations: 89.45 MB / 0.5349 GB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.473, allocations: 93.77 kB / 0.535 GB, free: 5.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.4898, allocations: 6.63 MB / 0.5414 GB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4898, allocations: 0 / 0.5414 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.661e-05/0.4899, allocations: 11.94 kB / 0.5414 GB, free: 15.62 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.001293/0.4912, allocations: 0.5848 MB / 0.542 GB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4912, allocations: 15.97 kB / 0.542 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.4914, allocations: 32.56 kB / 0.5421 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.4923, allocations: 427.8 kB / 0.5425 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.4924, allocations: 20.44 kB / 0.5425 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.4924, allocations: 23.31 kB / 0.5425 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.4931, allocations: 315.1 kB / 0.5428 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4931, allocations: 3.938 kB / 0.5428 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4931, allocations: 11.44 kB / 0.5428 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4932, allocations: 4 kB / 0.5428 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.4936, allocations: 218.3 kB / 0.543 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.4958, allocations: 1.347 MB / 0.5444 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.4963, allocations: 144 kB / 0.5445 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4964, allocations: 58.56 kB / 0.5446 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.4965, allocations: 4 kB / 0.5446 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.4965, allocations: 45.86 kB / 0.5446 GB, free: 12.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.4965, allocations: 0 / 0.5446 GB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008953/0.4974, allocations: 361.5 kB / 0.5449 GB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.4975, allocations: 77.11 kB / 0.545 GB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4978, allocations: 262.9 kB / 0.5453 GB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4978, allocations: 25.7 kB / 0.5453 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.498, allocations: 207.1 kB / 0.5455 GB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.498, allocations: 45.86 kB / 0.5455 GB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.498, allocations: 3.625 kB / 0.5455 GB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4982, allocations: 345.3 kB / 0.5459 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.4983, allocations: 53.89 kB / 0.5459 GB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.4985, allocations: 161 kB / 0.5461 GB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4988, allocations: 224.6 kB / 0.5463 GB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4988, allocations: 0 / 0.5463 GB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005737/0.4994, allocations: 242.8 kB / 0.5465 GB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4995, allocations: 8.094 kB / 0.5465 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4995, allocations: 4 kB / 0.5465 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.4995, allocations: 8 kB / 0.5465 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.4998, allocations: 55.41 kB / 0.5466 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.4998, allocations: 4 kB / 0.5466 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.5, allocations: 10.56 kB / 0.5466 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.5, allocations: 15.92 kB / 0.5466 GB, free: 10.65 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 () * 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.0002533/0.5003, allocations: 157.5 kB / 0.5468 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.5003, allocations: 27.66 kB / 0.5468 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.5007, allocations: 199.6 kB / 0.547 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.5008, allocations: 4 kB / 0.547 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5008, allocations: 0 / 0.547 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.5008, allocations: 0 / 0.547 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.5017, allocations: 0.5656 MB / 0.5475 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5017, allocations: 0 / 0.5475 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.5018, allocations: 27.98 kB / 0.5476 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5018, allocations: 4.031 kB / 0.5476 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5019, allocations: 4 kB / 0.5476 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5019, allocations: 3.938 kB / 0.5476 GB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5019, allocations: 3.984 kB / 0.5476 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.5023, allocations: 291.4 kB / 0.5479 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5024, allocations: 100.8 kB / 0.548 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.5025, allocations: 11.3 kB / 0.548 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5026, allocations: 3.375 kB / 0.548 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.5026, allocations: 11.92 kB / 0.548 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.5027, allocations: 4 kB / 0.548 GB, free: 9.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002248/0.5029, allocations: 181.5 kB / 0.5482 GB, free: 9.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.086e-06/0.5029, allocations: 0 / 0.5482 GB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.5034, allocations: 70.56 kB / 0.5482 GB, free: 9.129 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 () * 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.0002789/0.5037, allocations: 110.4 kB / 0.5483 GB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.504, allocations: 148.2 kB / 0.5485 GB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.504, allocations: 0 / 0.5485 GB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.5042, allocations: 81.77 kB / 0.5486 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.5048, allocations: 53.52 kB / 0.5486 GB, free: 8.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.506, allocations: 0.6469 MB / 0.5492 GB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.5065, allocations: 0.7822 MB / 0.55 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.5067, allocations: 50.25 kB / 0.55 GB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.5068, allocations: 19.44 kB / 0.5501 GB, free: 7.281 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5068, allocations: 0 / 0.5501 GB, free: 7.281 MB / 362.7 MB Notification: Performance of Templates: time 0.00639/0.5132, allocations: 2.15 MB / 0.5522 GB, free: 5.145 MB / 362.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)