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.001103/0.001103, allocations: 114.9 kB / 17.74 MB, free: 5.324 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.001223/0.001223, allocations: 188.4 kB / 18.67 MB, free: 4.398 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.318/1.318, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 37.98 MB / 309.9 MB, free: 5.941 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.001404/0.001404, allocations: 71.89 kB / 432.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 55.23 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00673/0.1198, allocations: 4.515 MB / 492.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1226, allocations: 1.457 MB / 493.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.1231, allocations: 15.88 kB / 493.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1242, allocations: 294.6 kB / 494.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.1251, allocations: 274.7 kB / 494.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.1259, allocations: 259.4 kB / 494.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009618/0.1269, allocations: 0.6587 MB / 495.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.1274, allocations: 252.2 kB / 495.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.128, allocations: 298.9 kB / 495.8 MB, free: 300 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.1287, allocations: 410.8 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.1289, allocations: 48 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.1294, allocations: 223.6 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.1297, allocations: 247.4 kB / 496.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.13, allocations: 286.6 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.131, allocations: 0.7516 MB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.131, allocations: 0 / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.131, allocations: 0 / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.131, allocations: 0 / 497.7 MB, free: 14.35 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.001867/0.1329, allocations: 0.8883 MB / 498.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1329, allocations: 11.89 kB / 498.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006624/0.1336, allocations: 88.23 kB / 498.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.1344, allocations: 443.8 kB / 499.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1344, allocations: 29.38 kB / 499.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.1345, allocations: 48.11 kB / 499.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.1358, allocations: 0.8591 MB / 0.4883 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1358, allocations: 0 / 0.4883 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.1359, allocations: 16 kB / 0.4884 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.1361, allocations: 60.95 kB / 0.4884 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1372, allocations: 0.8001 MB / 0.4892 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.141, allocations: 2.718 MB / 0.4919 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.1418, allocations: 0.5803 MB / 0.4924 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.1424, allocations: 454.7 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1424, allocations: 4 kB / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1425, allocations: 38.5 kB / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.885e-06/0.1425, allocations: 0 / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003037/0.1455, allocations: 1.895 MB / 0.4947 GB, free: 5.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1456, allocations: 138.7 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.146, allocations: 300.4 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.1461, allocations: 29.7 kB / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1463, allocations: 256.4 kB / 0.4954 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.1464, allocations: 193.3 kB / 0.4956 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.1467, allocations: 98.11 kB / 0.4957 GB, free: 4.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1469, allocations: 354.7 kB / 0.4961 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1474, allocations: 344.9 kB / 0.4964 GB, free: 3.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.148, allocations: 485.8 kB / 0.4968 GB, free: 2.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.1493, allocations: 0.9759 MB / 0.4978 GB, free: 1.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1493, allocations: 4 kB / 0.4978 GB, free: 1.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001464/0.1508, allocations: 0.9805 MB / 0.4988 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.1509, allocations: 78.16 kB / 0.4988 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1509, allocations: 4 kB / 0.4988 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.1511, allocations: 48.83 kB / 0.4989 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.1515, allocations: 83.83 kB / 0.499 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.153, allocations: 1.555 MB / 0.5005 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1533, allocations: 31.97 kB / 0.5005 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.1534, allocations: 24 kB / 0.5005 GB, free: 14.8 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.0004342/0.1539, allocations: 315.3 kB / 0.5008 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.154, allocations: 39.53 kB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.1556, allocations: 1.08 MB / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.1556, allocations: 15.98 kB / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1556, allocations: 0 / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1556, allocations: 0 / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.1581, allocations: 1.796 MB / 0.5037 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1581, allocations: 0 / 0.5037 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1584, allocations: 55.91 kB / 0.5038 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.1585, allocations: 36.83 kB / 0.5038 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.1585, allocations: 15.98 kB / 0.5038 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.1598, allocations: 1.547 MB / 0.5053 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1598, allocations: 7.969 kB / 0.5053 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.1613, allocations: 1.171 MB / 0.5065 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.1615, allocations: 180.5 kB / 0.5066 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.1616, allocations: 8 kB / 0.5066 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1619, allocations: 31.95 kB / 0.5067 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.162, allocations: 47.97 kB / 0.5067 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.1621, allocations: 16 kB / 0.5067 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1623, allocations: 207.1 kB / 0.5069 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 0 / 0.5069 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006204/0.1629, allocations: 140 kB / 0.5071 GB, free: 7.812 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.0003354/0.1633, allocations: 147.1 kB / 0.5072 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.1652, allocations: 1.37 MB / 0.5085 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1652, allocations: 0 / 0.5085 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1663, allocations: 0.9213 MB / 0.5094 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.1668, allocations: 80.97 kB / 0.5095 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.169, allocations: 1.438 MB / 0.5109 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.1695, allocations: 0.8976 MB / 0.5118 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1696, allocations: 31.44 kB / 0.5118 GB, free: 2.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1696, allocations: 4 kB / 0.5118 GB, free: 2.793 MB / 398.1 MB Notification: Performance of Templates: time 0.01308/0.1827, allocations: 8.49 MB / 0.5201 GB, free: 10.29 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)