Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 173.7 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007263/0.0007261, allocations: 94.22 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2213/0.2213, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 12 kB / 422.7 MB, free: 26.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 56.34 MB / 479.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004853/0.1086, allocations: 4.45 MB / 483.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1109, allocations: 1.649 MB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.1111, allocations: 23.88 kB / 485.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1114, allocations: 75.39 kB / 485.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.112, allocations: 290.6 kB / 485.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.1126, allocations: 239.6 kB / 485.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.1132, allocations: 0.7404 MB / 486.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006878/0.1139, allocations: 430.6 kB / 486.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1142, allocations: 219 kB / 487.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.1147, allocations: 371 kB / 487.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1148, allocations: 20 kB / 487.5 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.1152, allocations: 179.7 kB / 487.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1153, allocations: 203.5 kB / 487.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.1154, allocations: 113.5 kB / 488 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.1159, allocations: 0.4909 MB / 488.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1159, allocations: 4 kB / 488.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1159, allocations: 0 / 488.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1159, allocations: 0 / 488.5 MB, free: 8.477 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001194/0.1171, allocations: 0.6918 MB / 489.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1172, allocations: 8.031 kB / 489.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.1178, allocations: 95.23 kB / 489.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.1184, allocations: 394.1 kB / 489.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1184, allocations: 28.92 kB / 489.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.1186, allocations: 47.98 kB / 489.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.1195, allocations: 0.6875 MB / 490.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1195, allocations: 7.938 kB / 490.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.1196, allocations: 23.95 kB / 490.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.1198, allocations: 64.94 kB / 490.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1209, allocations: 0.6674 MB / 491.2 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.1247, allocations: 2.65 MB / 493.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.1253, allocations: 310.2 kB / 494.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1256, allocations: 217.4 kB / 494.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.1257, allocations: 7.984 kB / 494.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1257, allocations: 34.5 kB / 494.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.1257, allocations: 0 / 494.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001998/0.1277, allocations: 1.292 MB / 495.7 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1278, allocations: 89.09 kB / 495.8 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.1281, allocations: 295.2 kB / 496.1 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1282, allocations: 29.7 kB / 496.1 MB, free: 480 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1283, allocations: 251.6 kB / 496.4 MB, free: 224 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.1284, allocations: 145.9 kB / 496.5 MB, free: 76 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.1285, allocations: 4 kB / 496.5 MB, free: 72 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1286, allocations: 346.8 kB / 496.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1289, allocations: 188.9 kB / 497 MB, free: 15.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.1293, allocations: 317.3 kB / 497.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1297, allocations: 251.8 kB / 497.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1297, allocations: 0 / 497.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001176/0.1309, allocations: 0.6663 MB / 498.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1309, allocations: 7.984 kB / 498.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009688/0.1319, allocations: 487.5 kB / 498.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.1323, allocations: 121.9 kB / 498.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1326, allocations: 83.83 kB / 498.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1353, allocations: 3.014 MB / 0.4902 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1355, allocations: 31.88 kB / 0.4902 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.1356, allocations: 16 kB / 0.4902 GB, free: 10.22 MB / 346.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: 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.1358, allocations: 209.6 kB / 0.4904 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.1359, allocations: 39.56 kB / 0.4905 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.1366, allocations: 472.6 kB / 0.4909 GB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.1366, allocations: 8.188 kB / 0.4909 GB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1366, allocations: 7.875 kB / 0.4909 GB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1366, allocations: 11.97 kB / 0.491 GB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.138, allocations: 1.008 MB / 0.4919 GB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.138, allocations: 0 / 0.4919 GB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1383, allocations: 71.95 kB / 0.492 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1383, allocations: 4 kB / 0.492 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.1384, allocations: 8 kB / 0.492 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1384, allocations: 3.984 kB / 0.492 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1384, allocations: 4 kB / 0.492 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.1392, allocations: 0.7393 MB / 0.4927 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1394, allocations: 144.6 kB / 0.4929 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1394, allocations: 8 kB / 0.4929 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1396, allocations: 19.97 kB / 0.4929 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1397, allocations: 11.98 kB / 0.4929 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1397, allocations: 15.98 kB / 0.4929 GB, free: 7.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1399, allocations: 203.1 kB / 0.4931 GB, free: 7.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1399, allocations: 0 / 0.4931 GB, free: 7.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004574/0.1403, allocations: 120 kB / 0.4932 GB, free: 7.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001892/0.1405, allocations: 119.2 kB / 0.4934 GB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.1415, allocations: 0.7055 MB / 0.4941 GB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1415, allocations: 0 / 0.4941 GB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.1418, allocations: 216.2 kB / 0.4943 GB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.1423, allocations: 60.56 kB / 0.4943 GB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1439, allocations: 1.397 MB / 0.4957 GB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1443, allocations: 0.8782 MB / 0.4965 GB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.1445, allocations: 31.44 kB / 0.4966 GB, free: 3.512 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1445, allocations: 3.938 kB / 0.4966 GB, free: 3.508 MB / 346.7 MB Notification: Performance of Templates: time 0.008534/0.153, allocations: 6.811 MB / 0.5032 GB, free: 12.69 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)