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.001426/0.001426, allocations: 106.2 kB / 17.06 MB, free: 6.027 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.001675/0.001675, allocations: 195 kB / 18 MB, free: 5.105 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.592/1.592, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1803/0.1803, allocations: 37.98 MB / 309.2 MB, free: 5.969 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.00168/0.00168, allocations: 71.89 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1252, allocations: 55.24 MB / 487.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005965/0.1312, allocations: 4.051 MB / 491.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1329, allocations: 0.9319 MB / 492.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.133, allocations: 11.94 kB / 492.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1333, allocations: 55.5 kB / 492.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.1338, allocations: 183 kB / 492.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1341, allocations: 87.88 kB / 492.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1345, allocations: 406.5 kB / 492.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1348, allocations: 122.2 kB / 492.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.1351, allocations: 179.2 kB / 493.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.1355, allocations: 207.3 kB / 493.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.1355, allocations: 20 kB / 493.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.1356, allocations: 20 kB / 493.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1357, allocations: 111.6 kB / 493.5 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.1359, allocations: 147.2 kB / 493.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.1362, allocations: 326.8 kB / 493.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1363, allocations: 0 / 493.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1363, allocations: 0 / 493.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1363, allocations: 0 / 493.9 MB, free: 1.484 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.001213/0.1375, allocations: 0.6167 MB / 494.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1376, allocations: 15.89 kB / 494.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.1376, allocations: 36.47 kB / 494.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.1382, allocations: 339 kB / 494.9 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1382, allocations: 20.94 kB / 494.9 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.1382, allocations: 24.12 kB / 495 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.1387, allocations: 316.5 kB / 495.3 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1387, allocations: 7.938 kB / 495.3 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1388, allocations: 4 kB / 495.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1388, allocations: 8.047 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.1391, allocations: 213.5 kB / 495.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.1407, allocations: 1.348 MB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.141, allocations: 145.2 kB / 497 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.1411, allocations: 57.75 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1411, allocations: 0 / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1412, allocations: 42.56 kB / 497.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.574e-06/0.1412, allocations: 11.86 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007456/0.1419, allocations: 367.7 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.142, allocations: 77.11 kB / 497.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1422, allocations: 255 kB / 497.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1423, allocations: 33.7 kB / 497.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1424, allocations: 199.5 kB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1424, allocations: 47.48 kB / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.1425, allocations: 49.7 kB / 498.1 MB, free: 13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1426, allocations: 334.8 kB / 498.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.1427, allocations: 63.89 kB / 498.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1429, allocations: 152.7 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.1432, allocations: 237.4 kB / 498.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1432, allocations: 0 / 498.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003433/0.1435, allocations: 245 kB / 499.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1436, allocations: 8.438 kB / 499.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1436, allocations: 8 kB / 499.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1436, allocations: 4 kB / 499.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1438, allocations: 47.91 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1438, allocations: 4 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1439, allocations: 15.89 kB / 499.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.144, allocations: 8 kB / 499.2 MB, free: 11.79 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.0001595/0.1441, allocations: 165.7 kB / 499.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.1442, allocations: 23.72 kB / 499.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.1445, allocations: 199.2 kB / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1445, allocations: 0 / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1446, allocations: 0 / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1446, allocations: 7.984 kB / 499.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.1452, allocations: 0.5499 MB / 0.4884 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1453, allocations: 0 / 0.4884 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1454, allocations: 27.98 kB / 0.4885 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1454, allocations: 0 / 0.4885 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1454, allocations: 4 kB / 0.4885 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1455, allocations: 11.97 kB / 0.4885 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1455, allocations: 3.938 kB / 0.4885 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1458, allocations: 292.7 kB / 0.4888 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.1458, allocations: 108.7 kB / 0.4889 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1459, allocations: 0 / 0.4889 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.146, allocations: 11.94 kB / 0.4889 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.146, allocations: 11.98 kB / 0.4889 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1461, allocations: 4 kB / 0.4889 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1462, allocations: 186 kB / 0.4891 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1462, allocations: 0 / 0.4891 GB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1465, allocations: 51.94 kB / 0.4891 GB, free: 10.04 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 0.0001098/0.1466, allocations: 99.3 kB / 0.4892 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1469, allocations: 167.8 kB / 0.4894 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.147, allocations: 4 kB / 0.4894 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1471, allocations: 71.84 kB / 0.4894 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1476, allocations: 69.28 kB / 0.4895 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.1484, allocations: 0.52 MB / 0.49 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1487, allocations: 0.7792 MB / 0.4908 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1489, allocations: 38.27 kB / 0.4908 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1489, allocations: 31.42 kB / 0.4908 GB, free: 8.195 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1489, allocations: 0 / 0.4908 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Templates: time 0.005246/0.1542, allocations: 2.29 MB / 0.4931 GB, free: 5.902 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)