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.000966/0.0009662, allocations: 175.2 kB / 16.07 MB, free: 5.723 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.247/1.247, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0006981/0.0006979, allocations: 82.42 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1673/0.1673, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 56.32 MB / 479.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004013/0.2199, allocations: 4.468 MB / 484.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2221, allocations: 1.65 MB / 485.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2223, allocations: 25.41 kB / 485.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2226, allocations: 80.28 kB / 485.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.2232, allocations: 307.9 kB / 486.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2238, allocations: 237.3 kB / 486.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.2246, allocations: 0.7553 MB / 487.1 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.2252, allocations: 454.2 kB / 487.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.2256, allocations: 221.7 kB / 487.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.2261, allocations: 363.5 kB / 488.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.2261, allocations: 20.06 kB / 488.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.2266, allocations: 234.6 kB / 488.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.2268, allocations: 216 kB / 488.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.227, allocations: 242.1 kB / 488.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.2276, allocations: 499.5 kB / 489.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2276, allocations: 1.25 kB / 489.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2276, allocations: 4 kB / 489.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2276, allocations: 0 / 489.3 MB, free: 3.691 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001076/0.2287, allocations: 0.6832 MB / 490 MB, free: 3.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2288, allocations: 13.16 kB / 490 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.2293, allocations: 90.8 kB / 490.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.2299, allocations: 405.6 kB / 490.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2299, allocations: 23.12 kB / 490.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.23, allocations: 51.28 kB / 490.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.231, allocations: 0.6932 MB / 491.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.231, allocations: 1.891 kB / 491.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.231, allocations: 12.12 kB / 491.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/0.2313, allocations: 74.81 kB / 491.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.2323, allocations: 0.6671 MB / 492 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.2353, allocations: 2.654 MB / 494.7 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.2358, allocations: 318.9 kB / 495 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.2361, allocations: 204.7 kB / 495.2 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.2362, allocations: 12.81 kB / 495.2 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2362, allocations: 36.16 kB / 495.3 MB, free: 200 kB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.2362, allocations: 1.375 kB / 495.3 MB, free: 200 kB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001926/0.2381, allocations: 1.29 MB / 496.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.2382, allocations: 81.59 kB / 496.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.2385, allocations: 291.2 kB / 496.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.2386, allocations: 35.91 kB / 497 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2387, allocations: 245.3 kB / 497.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2388, allocations: 139.4 kB / 497.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.2389, allocations: 6.031 kB / 497.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.239, allocations: 355.9 kB / 497.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.2393, allocations: 186.1 kB / 497.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.2397, allocations: 325.6 kB / 498.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.2404, allocations: 0.5548 MB / 498.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2404, allocations: 1.031 kB / 498.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001207/0.2416, allocations: 0.6783 MB / 499.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2416, allocations: 6.594 kB / 499.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008202/0.2425, allocations: 487.9 kB / 499.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.2429, allocations: 112 kB / 0.4883 GB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2432, allocations: 82.36 kB / 0.4884 GB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.2458, allocations: 3.027 MB / 0.4913 GB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2461, allocations: 19.77 kB / 0.4913 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.2461, allocations: 23.48 kB / 0.4914 GB, free: 10.55 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: 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.0002705/0.2464, allocations: 205.5 kB / 0.4916 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.2465, allocations: 46.55 kB / 0.4916 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.2472, allocations: 465.7 kB / 0.492 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.2473, allocations: 13.59 kB / 0.4921 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2473, allocations: 5.312 kB / 0.4921 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2473, allocations: 0 / 0.4921 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2487, allocations: 1.027 MB / 0.4931 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2487, allocations: 1 kB / 0.4931 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.2491, allocations: 65.48 kB / 0.4931 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2491, allocations: 2.25 kB / 0.4931 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.2491, allocations: 7.219 kB / 0.4931 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2491, allocations: 2.5 kB / 0.4931 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2491, allocations: 1.406 kB / 0.4931 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.2501, allocations: 0.7484 MB / 0.4939 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.2502, allocations: 137.2 kB / 0.494 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2503, allocations: 8.219 kB / 0.494 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2505, allocations: 19.31 kB / 0.494 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2505, allocations: 21.55 kB / 0.4941 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.2506, allocations: 10.3 kB / 0.4941 GB, free: 8.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.2508, allocations: 203 kB / 0.4943 GB, free: 8.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2508, allocations: 0 / 0.4943 GB, free: 8.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005288/0.2513, allocations: 117.7 kB / 0.4944 GB, free: 8.602 MB / 330.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.0002294/0.2516, allocations: 138.4 kB / 0.4945 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2526, allocations: 0.7133 MB / 0.4952 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2526, allocations: 0 / 0.4952 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.2529, allocations: 212.8 kB / 0.4954 GB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2534, allocations: 60.03 kB / 0.4955 GB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2551, allocations: 1.394 MB / 0.4968 GB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.2556, allocations: 0.8748 MB / 0.4977 GB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2557, allocations: 36.17 kB / 0.4977 GB, free: 6.125 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2557, allocations: 0 / 0.4977 GB, free: 6.125 MB / 330.7 MB Notification: Performance of Templates: time 0.008862/0.2646, allocations: 6.812 MB / 0.5044 GB, free: 0.5312 MB / 330.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)