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.0009576/0.0009577, allocations: 171.6 kB / 16.07 MB, free: 5.695 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.22/1.22, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.0007692/0.0007692, allocations: 100.8 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1686/0.1686, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003359, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.215, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004667/0.2198, allocations: 5.356 MB / 485 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2225, allocations: 1.936 MB / 486.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.2229, allocations: 30.19 kB / 486.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.2233, allocations: 142.2 kB / 487.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.2241, allocations: 336.2 kB / 487.4 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.225, allocations: 358.2 kB / 487.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009912/0.226, allocations: 0.879 MB / 488.6 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009175/0.227, allocations: 0.6053 MB / 489.2 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.2274, allocations: 280.1 kB / 489.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.2281, allocations: 450.5 kB / 490 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.2282, allocations: 30.91 kB / 490 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.2285, allocations: 149.5 kB / 490.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.2288, allocations: 265 kB / 490.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.2291, allocations: 317.5 kB / 490.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.2298, allocations: 0.6061 MB / 491.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2298, allocations: 0 / 491.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2298, allocations: 3.938 kB / 491.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.2298, allocations: 0 / 491.3 MB, free: 2.531 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001365/0.2312, allocations: 0.8001 MB / 492.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2312, allocations: 9.844 kB / 492.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.2321, allocations: 128.8 kB / 492.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.233, allocations: 0.5234 MB / 492.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.233, allocations: 39.42 kB / 492.8 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.2334, allocations: 131.1 kB / 492.9 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2346, allocations: 0.8517 MB / 493.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.2346, allocations: 9.5 kB / 493.8 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.2347, allocations: 21.33 kB / 493.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004157/0.2351, allocations: 72.08 kB / 493.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.236, allocations: 0.6155 MB / 494.5 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.2405, allocations: 3.8 MB / 498.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2416, allocations: 0.5339 MB / 498.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.2421, allocations: 319 kB / 499.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.2422, allocations: 6.953 kB / 499.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.2423, allocations: 50.05 kB / 499.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.2423, allocations: 0 / 499.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.003019/0.2453, allocations: 1.837 MB / 0.4893 GB, free: 12.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.2454, allocations: 90.03 kB / 0.4894 GB, free: 12.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.2458, allocations: 412.1 kB / 0.4898 GB, free: 12.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.2459, allocations: 36.39 kB / 0.4898 GB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.2461, allocations: 329.9 kB / 0.4901 GB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2463, allocations: 203.5 kB / 0.4903 GB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.2463, allocations: 15.06 kB / 0.4903 GB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2465, allocations: 371.1 kB / 0.4907 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.2471, allocations: 373.6 kB / 0.4911 GB, free: 11.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.2478, allocations: 0.6038 MB / 0.4916 GB, free: 11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.2491, allocations: 1.054 MB / 0.4927 GB, free: 10.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.2491, allocations: 7.234 kB / 0.4927 GB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004274/0.2534, allocations: 1.99 MB / 0.4946 GB, free: 9.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.2535, allocations: 15.47 kB / 0.4946 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2535, allocations: 7.781 kB / 0.4946 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.2559, allocations: 0.9683 MB / 0.4956 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.2564, allocations: 116.9 kB / 0.4957 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009685/0.2661, allocations: 7.374 MB / 0.5029 GB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.2667, allocations: 31.97 kB / 0.5029 GB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.2668, allocations: 39.98 kB / 0.503 GB, free: 2.043 MB / 330.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.0003831/0.2672, allocations: 241.7 kB / 0.5032 GB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.2673, allocations: 51.38 kB / 0.5032 GB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2684, allocations: 0.7296 MB / 0.504 GB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2685, allocations: 4 kB / 0.504 GB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.2685, allocations: 0 / 0.504 GB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.2685, allocations: 3.984 kB / 0.504 GB, free: 1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.271, allocations: 1.544 MB / 0.5055 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.271, allocations: 0 / 0.5055 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.2721, allocations: 183.8 kB / 0.5057 GB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2721, allocations: 4 kB / 0.5057 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.2722, allocations: 27.98 kB / 0.5057 GB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.2722, allocations: 4 kB / 0.5057 GB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2722, allocations: 3.938 kB / 0.5057 GB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.2735, allocations: 0.9932 MB / 0.5067 GB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2737, allocations: 124.5 kB / 0.5068 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.2738, allocations: 27.98 kB / 0.5068 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.2741, allocations: 31.97 kB / 0.5068 GB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.2742, allocations: 36.45 kB / 0.5069 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.2742, allocations: 16 kB / 0.5069 GB, free: 13.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.2745, allocations: 283.1 kB / 0.5072 GB, free: 13.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2745, allocations: 0 / 0.5072 GB, free: 13.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008139/0.2754, allocations: 208 kB / 0.5074 GB, free: 13.42 MB / 346.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.0001604/0.2755, allocations: 127.2 kB / 0.5075 GB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.2779, allocations: 1.465 MB / 0.5089 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.278, allocations: 0 / 0.5089 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.2785, allocations: 310.3 kB / 0.5092 GB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.2792, allocations: 125 kB / 0.5093 GB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.2835, allocations: 3.274 MB / 0.5125 GB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.2841, allocations: 0.9804 MB / 0.5135 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2843, allocations: 51.44 kB / 0.5135 GB, free: 6.988 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2844, allocations: 0 / 0.5135 GB, free: 6.988 MB / 346.7 MB Notification: Performance of Templates: time 0.01386/0.2982, allocations: 10.88 MB / 0.5241 GB, free: 12.11 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)