Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 106.1 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.001653/0.001653, 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.71/1.71, 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.1925/0.1925, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001444/0.001445, allocations: 71.91 kB / 431.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 55.24 MB / 487.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006987/0.1436, allocations: 4.511 MB / 491.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.1465, allocations: 1.454 MB / 493.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1468, allocations: 15.88 kB / 493.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1479, allocations: 290.6 kB / 493.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.1486, allocations: 286.7 kB / 493.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.1494, allocations: 243.4 kB / 493.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.1501, allocations: 0.6704 MB / 494.6 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.1506, allocations: 244.2 kB / 494.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.151, allocations: 302.9 kB / 495.1 MB, free: 448 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.1516, allocations: 414.8 kB / 495.5 MB, free: 32 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.1517, allocations: 44.05 kB / 495.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.1522, allocations: 227.5 kB / 495.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.1524, allocations: 247.3 kB / 496 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.1528, allocations: 286.6 kB / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008657/0.1536, allocations: 0.7477 MB / 497 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1537, allocations: 0 / 497 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1537, allocations: 0 / 497 MB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1537, allocations: 4 kB / 497 MB, free: 14.49 MB / 382.1 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.001672/0.1554, allocations: 0.8883 MB / 497.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1554, allocations: 15.89 kB / 497.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.156, allocations: 88.23 kB / 498 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.1568, allocations: 435.9 kB / 498.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.1568, allocations: 37.3 kB / 498.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.1569, allocations: 44.12 kB / 498.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1582, allocations: 0.8591 MB / 499.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.1582, allocations: 4 kB / 499.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.1583, allocations: 19.98 kB / 499.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.1585, allocations: 56.95 kB / 499.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1597, allocations: 0.8001 MB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.1633, allocations: 2.71 MB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.1642, allocations: 0.5803 MB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.1647, allocations: 454.7 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.1648, allocations: 4 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.1648, allocations: 42.5 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.913e-06/0.1648, allocations: 4 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.002885/0.1677, allocations: 1.883 MB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1678, allocations: 142.8 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1682, allocations: 300.3 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.1682, allocations: 33.83 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1684, allocations: 252.4 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.1686, allocations: 193.2 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.1687, allocations: 98.11 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1689, allocations: 358.7 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.1694, allocations: 340.9 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.17, allocations: 485.8 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.1711, allocations: 0.9799 MB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1711, allocations: 3.938 kB / 0.4971 GB, free: 1.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001338/0.1725, allocations: 0.9849 MB / 0.4981 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.1726, allocations: 77.59 kB / 0.4982 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1726, allocations: 4 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.1728, allocations: 40.83 kB / 0.4982 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1732, allocations: 91.77 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1745, allocations: 1.551 MB / 0.4998 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.1749, allocations: 31.95 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.1749, allocations: 24 kB / 0.4999 GB, free: 14.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004203/0.1754, allocations: 315.2 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1755, allocations: 39.53 kB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.177, allocations: 1.076 MB / 0.5013 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.177, allocations: 12.14 kB / 0.5013 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.177, allocations: 7.984 kB / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1771, allocations: 3.984 kB / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.1795, allocations: 1.788 MB / 0.503 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1795, allocations: 0 / 0.503 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.1798, allocations: 59.89 kB / 0.5031 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-05/0.1799, allocations: 36.83 kB / 0.5031 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.1799, allocations: 12 kB / 0.5031 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.181, allocations: 1.547 MB / 0.5047 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.181, allocations: 4.031 kB / 0.5047 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1824, allocations: 1.183 MB / 0.5058 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.1827, allocations: 172.6 kB / 0.506 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.1828, allocations: 12 kB / 0.506 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.183, allocations: 27.97 kB / 0.506 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.1832, allocations: 51.81 kB / 0.5061 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.1832, allocations: 16 kB / 0.5061 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1834, allocations: 203.1 kB / 0.5063 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1835, allocations: 4 kB / 0.5063 GB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.184, allocations: 140 kB / 0.5064 GB, free: 7.953 MB / 398.1 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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.1843, allocations: 147.3 kB / 0.5066 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.186, allocations: 1.366 MB / 0.5079 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.186, allocations: 5.125 kB / 0.5079 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.1869, allocations: 0.9281 MB / 0.5088 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.1875, allocations: 80.84 kB / 0.5089 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1896, allocations: 1.385 MB / 0.5102 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.1902, allocations: 0.9015 MB / 0.5111 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.1905, allocations: 107.2 kB / 0.5112 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.1906, allocations: 31.42 kB / 0.5112 GB, free: 2.883 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1906, allocations: 0 / 0.5112 GB, free: 2.883 MB / 398.1 MB Notification: Performance of Templates: time 0.0129/0.2035, allocations: 6.196 MB / 0.5173 GB, free: 12.68 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)