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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001106/0.001106, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.233/1.233, allocations: 194.2 MB / 212.2 MB, free: 2.363 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.001742/0.001743, allocations: 124.3 kB / 256.6 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1983/0.1983, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 71.89 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 52.18 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004979/0.113, allocations: 5.15 MB / 459.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1151, allocations: 1.664 MB / 460.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.1154, allocations: 27.81 kB / 460.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.1162, allocations: 274.8 kB / 461.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1166, allocations: 266.9 kB / 461.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.1171, allocations: 227.6 kB / 461.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.1177, allocations: 1.002 MB / 462.6 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.1181, allocations: 228.2 kB / 462.8 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1184, allocations: 254.9 kB / 463 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.1188, allocations: 438.7 kB / 463.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.1189, allocations: 28 kB / 463.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.1193, allocations: 235.5 kB / 463.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1195, allocations: 227.4 kB / 464 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1197, allocations: 270.5 kB / 464.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.1202, allocations: 0.7243 MB / 464.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1202, allocations: 0 / 464.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1202, allocations: 3.938 kB / 464.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1202, allocations: 0 / 464.9 MB, free: 5.562 MB / 314.7 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.00143/0.1217, allocations: 0.8845 MB / 465.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1217, allocations: 8.031 kB / 465.8 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.1222, allocations: 88.23 kB / 465.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.1228, allocations: 419.9 kB / 466.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1228, allocations: 29.36 kB / 466.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.1229, allocations: 43.94 kB / 466.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.1239, allocations: 0.8629 MB / 467.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1239, allocations: 0 / 467.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.124, allocations: 20 kB / 467.3 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.1241, allocations: 60.95 kB / 467.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.125, allocations: 0.8001 MB / 468.2 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1281, allocations: 2.722 MB / 470.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.1291, allocations: 0.5876 MB / 471.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.1299, allocations: 450.7 kB / 471.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1299, allocations: 4 kB / 471.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.13, allocations: 38.56 kB / 471.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.284e-06/0.13, allocations: 0 / 471.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.002647/0.1326, allocations: 1.886 MB / 473.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.1327, allocations: 142.8 kB / 474 MB, free: 12.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.133, allocations: 292.4 kB / 474.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.1331, allocations: 37.64 kB / 474.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1332, allocations: 256.4 kB / 474.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1334, allocations: 197.2 kB / 474.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1336, allocations: 98.11 kB / 474.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1337, allocations: 350.8 kB / 475.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.1341, allocations: 340.9 kB / 475.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.1346, allocations: 485.8 kB / 476 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1357, allocations: 0.984 MB / 477 MB, free: 8.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1357, allocations: 4 kB / 477 MB, free: 8.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001274/0.137, allocations: 0.9767 MB / 477.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/0.1371, allocations: 74.16 kB / 478 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1371, allocations: 15.94 kB / 478 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.1373, allocations: 44.81 kB / 478.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.1376, allocations: 83.89 kB / 478.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1389, allocations: 1.441 MB / 479.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1392, allocations: 31.97 kB / 479.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.1392, allocations: 24 kB / 479.7 MB, free: 6.145 MB / 330.7 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.0003525/0.1396, allocations: 303.2 kB / 479.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.1397, allocations: 47.53 kB / 480 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.1411, allocations: 1.076 MB / 481.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.1412, allocations: 15.98 kB / 481.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1412, allocations: 3.938 kB / 481.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1412, allocations: 4 kB / 481.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.1437, allocations: 1.784 MB / 482.9 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1437, allocations: 15.95 kB / 482.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1439, allocations: 47.97 kB / 482.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.956e-05/0.144, allocations: 40.83 kB / 483 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.1441, allocations: 8.141 kB / 483 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.1452, allocations: 1.441 MB / 484.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1453, allocations: 3.938 kB / 484.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.1476, allocations: 2.33 MB / 486.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.1479, allocations: 172.6 kB / 486.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.148, allocations: 12 kB / 486.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.1483, allocations: 23.97 kB / 487 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1484, allocations: 43.94 kB / 487 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.1485, allocations: 23.94 kB / 487 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1487, allocations: 207.1 kB / 487.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1487, allocations: 0 / 487.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006599/0.1494, allocations: 140 kB / 487.4 MB, free: 14.09 MB / 346.7 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.0002848/0.1497, allocations: 143 kB / 487.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1513, allocations: 1.375 MB / 488.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1514, allocations: 0 / 488.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009756/0.1523, allocations: 0.9224 MB / 489.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1529, allocations: 77.19 kB / 489.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1561, allocations: 1.951 MB / 491.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.1568, allocations: 0.9249 MB / 492.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.1571, allocations: 99.19 kB / 492.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.1572, allocations: 31.42 kB / 492.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1572, allocations: 0 / 492.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of Templates: time 0.01162/0.1689, allocations: 5.948 MB / 498.8 MB, free: 2.488 MB / 346.7 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)