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.0011/0.0011, allocations: 94.83 kB / 16.32 MB, free: 5.602 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.0009743/0.0009743, allocations: 185.5 kB / 17.21 MB, free: 5.52 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.377/1.377, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3368/0.3368, allocations: 38.05 MB / 309.7 MB, free: 8.828 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.0005038/0.0005039, allocations: 14.19 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1004, allocations: 56.34 MB / 432.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005563/0.106, allocations: 4.533 MB / 437.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1094, allocations: 1.556 MB / 438.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.1101, allocations: 23.81 kB / 439 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1106, allocations: 83.38 kB / 439.1 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1119, allocations: 306.6 kB / 439.4 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1129, allocations: 227.7 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.1142, allocations: 0.791 MB / 440.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1154, allocations: 383.6 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.1162, allocations: 242.9 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008281/0.117, allocations: 414.8 kB / 441.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1172, allocations: 24 kB / 441.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.1177, allocations: 167.7 kB / 441.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.1181, allocations: 235.4 kB / 441.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.1183, allocations: 117.5 kB / 441.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.119, allocations: 0.5377 MB / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.119, allocations: 0 / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1191, allocations: 0 / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1191, allocations: 0 / 442.5 MB, free: 13.03 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.001407/0.1205, allocations: 0.7948 MB / 443.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1205, allocations: 8.031 kB / 443.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/0.1211, allocations: 95.19 kB / 443.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.1217, allocations: 410.8 kB / 443.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.1217, allocations: 28.94 kB / 443.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1219, allocations: 43.98 kB / 443.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1232, allocations: 0.8552 MB / 444.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.1232, allocations: 3.984 kB / 444.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.1233, allocations: 16 kB / 444.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.1234, allocations: 64.91 kB / 444.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1246, allocations: 0.8001 MB / 445.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.1279, allocations: 2.729 MB / 448.3 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/0.1287, allocations: 0.5759 MB / 448.9 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.1292, allocations: 454.7 kB / 449.3 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1292, allocations: 11.97 kB / 449.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1293, allocations: 42.5 kB / 449.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 3.095e-06/0.1293, allocations: 0 / 449.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.002671/0.132, allocations: 1.887 MB / 451.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1321, allocations: 138.8 kB / 451.4 MB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.1324, allocations: 296.4 kB / 451.7 MB, free: 3.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.1325, allocations: 33.7 kB / 451.7 MB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1326, allocations: 260.2 kB / 452 MB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1328, allocations: 185.3 kB / 452.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1328, allocations: 16.12 kB / 452.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.133, allocations: 350.8 kB / 452.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.1334, allocations: 340.9 kB / 452.8 MB, free: 2.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.1339, allocations: 485.8 kB / 453.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.1345, allocations: 464.4 kB / 453.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1345, allocations: 0 / 453.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001263/0.1358, allocations: 0.9885 MB / 454.7 MB, free: 248 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.1358, allocations: 73.66 kB / 454.8 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1359, allocations: 4 kB / 454.8 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.136, allocations: 41.41 kB / 454.9 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.1364, allocations: 91.81 kB / 455 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1944/0.3308, allocations: 1.44 MB / 456.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.3313, allocations: 34.23 kB / 456.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.3314, allocations: 27.62 kB / 456.5 MB, free: 50.41 MB / 382.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[1],voltage.h_mod3[2],voltage.h_mod3[3],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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004094/0.3318, allocations: 302.6 kB / 456.7 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.332, allocations: 45.44 kB / 456.8 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.3333, allocations: 1.079 MB / 457.9 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.3333, allocations: 13.08 kB / 457.9 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3333, allocations: 0 / 457.9 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3333, allocations: 5.531 kB / 457.9 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3354, allocations: 1.798 MB / 459.7 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.3355, allocations: 3 kB / 459.7 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.3357, allocations: 52.17 kB / 459.7 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.3358, allocations: 37.98 kB / 459.8 MB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.3359, allocations: 13.44 kB / 459.8 MB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008345/0.3367, allocations: 1.438 MB / 461.2 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3367, allocations: 0 / 461.2 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3383, allocations: 1.173 MB / 462.4 MB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.3385, allocations: 171.1 kB / 462.6 MB, free: 48.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3386, allocations: 30.03 kB / 462.6 MB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3388, allocations: 27.38 kB / 462.6 MB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.339, allocations: 41.92 kB / 462.7 MB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.339, allocations: 23.81 kB / 462.7 MB, free: 48.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.3392, allocations: 199.2 kB / 462.9 MB, free: 48.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3392, allocations: 0 / 462.9 MB, free: 48.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.3399, allocations: 140.9 kB / 463 MB, free: 48.19 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.3401, allocations: 123.8 kB / 463.1 MB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3418, allocations: 1.374 MB / 464.5 MB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3418, allocations: 0 / 464.5 MB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008963/0.3427, allocations: 0.9334 MB / 465.5 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.3432, allocations: 72.75 kB / 465.5 MB, free: 47.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3449, allocations: 1.586 MB / 467.1 MB, free: 46.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3453, allocations: 0.9059 MB / 468 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.3456, allocations: 98.97 kB / 468.1 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.3456, allocations: 30.91 kB / 468.1 MB, free: 46.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.285e-06/0.3457, allocations: 2.969 kB / 468.1 MB, free: 46.19 MB / 382.1 MB Notification: Performance of Templates: time 0.008359/0.354, allocations: 5.517 MB / 473.7 MB, free: 45.8 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: