Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001556, allocations: 184.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00117/0.001169, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2911/0.2911, allocations: 38.06 MB / 356.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.00062, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1071, allocations: 56.33 MB / 479 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.008324/0.1155, allocations: 5.114 MB / 484.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.1204, allocations: 1.919 MB / 486.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.1211, allocations: 35.81 kB / 486.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.1218, allocations: 139.2 kB / 486.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.1231, allocations: 303 kB / 486.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1247, allocations: 331.3 kB / 486.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009876/0.1257, allocations: 431.5 kB / 487.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.1271, allocations: 0.5709 MB / 487.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.1278, allocations: 267.1 kB / 488.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.1286, allocations: 335 kB / 488.4 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1288, allocations: 31.94 kB / 488.5 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.1292, allocations: 103.9 kB / 488.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.1295, allocations: 239.4 kB / 488.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.1297, allocations: 133.4 kB / 488.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.1307, allocations: 0.6001 MB / 489.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1307, allocations: 0 / 489.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1307, allocations: 4 kB / 489.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1307, allocations: 0 / 489.5 MB, free: 7.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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002314/0.1331, allocations: 0.8122 MB / 490.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1331, allocations: 8.031 kB / 490.4 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.1347, allocations: 143 kB / 490.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.1364, allocations: 0.4954 MB / 491 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.1365, allocations: 33 kB / 491 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006739/0.1371, allocations: 135.8 kB / 491.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1391, allocations: 0.8548 MB / 492 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.1392, allocations: 4 kB / 492 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/0.1393, allocations: 19.98 kB / 492 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008915/0.1402, allocations: 72.88 kB / 492.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1419, allocations: 0.6165 MB / 492.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007723/0.1497, allocations: 3.789 MB / 496.5 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.1517, allocations: 0.5306 MB / 497.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.171e-05/0.1518, allocations: 16.47 kB / 497.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.1519, allocations: 46.94 kB / 497.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/0.1519, allocations: 0 / 497.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.005081/0.157, allocations: 1.817 MB / 498.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.1571, allocations: 85.55 kB / 499 MB, free: 13.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.1578, allocations: 421.6 kB / 499.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.1579, allocations: 41.83 kB / 499.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.1582, allocations: 366.2 kB / 499.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.1585, allocations: 197.3 kB / 0.4883 GB, free: 12.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.1586, allocations: 16 kB / 0.4883 GB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1588, allocations: 350.7 kB / 0.4886 GB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.1598, allocations: 373.5 kB / 0.489 GB, free: 11.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.161, allocations: 0.5901 MB / 0.4896 GB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.1622, allocations: 473.8 kB / 0.49 GB, free: 10.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.1623, allocations: 4 kB / 0.49 GB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007915/0.1702, allocations: 1.973 MB / 0.492 GB, free: 8.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1703, allocations: 8 kB / 0.492 GB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.1703, allocations: 8 kB / 0.492 GB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004324/0.1746, allocations: 0.9614 MB / 0.4929 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.1756, allocations: 119.8 kB / 0.493 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/0.2011, allocations: 7.649 MB / 0.5005 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.202, allocations: 39.91 kB / 0.5005 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2021, allocations: 32 kB / 0.5006 GB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005051/0.2026, allocations: 249.7 kB / 0.5008 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.2028, allocations: 47.44 kB / 0.5009 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2048, allocations: 0.7217 MB / 0.5016 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2048, allocations: 8 kB / 0.5016 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2048, allocations: 7.891 kB / 0.5016 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2049, allocations: 8.234 kB / 0.5016 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.2093, allocations: 1.513 MB / 0.5031 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.2093, allocations: 4 kB / 0.5031 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.2115, allocations: 191.8 kB / 0.5032 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/0.2116, allocations: 7.953 kB / 0.5033 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.2117, allocations: 31.92 kB / 0.5033 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2117, allocations: 4.094 kB / 0.5033 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2117, allocations: 4 kB / 0.5033 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.2141, allocations: 1.032 MB / 0.5043 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.2144, allocations: 128.5 kB / 0.5044 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.2146, allocations: 23.98 kB / 0.5044 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.2152, allocations: 27.91 kB / 0.5045 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2154, allocations: 36.34 kB / 0.5045 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.2154, allocations: 19.98 kB / 0.5045 GB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004625/0.2159, allocations: 279.1 kB / 0.5048 GB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2159, allocations: 0 / 0.5048 GB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001229/0.2172, allocations: 212 kB / 0.505 GB, free: 10.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * 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.0002369/0.2174, allocations: 127.2 kB / 0.5051 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004149/0.2216, allocations: 1.449 MB / 0.5065 GB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2216, allocations: 0.625 kB / 0.5065 GB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000842/0.2225, allocations: 306.3 kB / 0.5068 GB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.2234, allocations: 113.4 kB / 0.5069 GB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.231, allocations: 3.312 MB / 0.5102 GB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.2319, allocations: 0.9964 MB / 0.5111 GB, free: 4.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.2323, allocations: 51.44 kB / 0.5112 GB, free: 4.449 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2323, allocations: 4 kB / 0.5112 GB, free: 4.445 MB / 362.7 MB Notification: Performance of Templates: time 0.3102/0.5425, allocations: 10.43 MB / 0.5214 GB, free: 48.61 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)