Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 115.5 kB / 17.69 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 192 kB / 18.63 MB, free: 4.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1764/0.1764, allocations: 37.98 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005028/0.2338, allocations: 4.571 MB / 436.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2357, allocations: 1.352 MB / 438 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2359, allocations: 15.88 kB / 438 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2369, allocations: 402.3 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.2374, allocations: 254.7 kB / 438.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.2378, allocations: 167.7 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2382, allocations: 0.5608 MB / 439.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.2386, allocations: 281.2 kB / 439.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.2388, allocations: 262.9 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.2393, allocations: 279.1 kB / 440.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.2393, allocations: 32 kB / 440.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.2395, allocations: 127.8 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2397, allocations: 187.5 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2398, allocations: 218.9 kB / 440.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.2402, allocations: 0.5101 MB / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2402, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2403, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2403, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009122/0.2412, allocations: 0.7047 MB / 441.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2412, allocations: 11.89 kB / 441.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.2418, allocations: 84.31 kB / 442 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.2424, allocations: 419.2 kB / 442.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2424, allocations: 21.38 kB / 442.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2425, allocations: 48.11 kB / 442.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.2431, allocations: 488.8 kB / 443 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2431, allocations: 0 / 443 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.2432, allocations: 12 kB / 443 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/0.2433, allocations: 28.98 kB / 443 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.2437, allocations: 351.7 kB / 443.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2454, allocations: 1.718 MB / 445.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.2456, allocations: 153.1 kB / 445.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2458, allocations: 117.7 kB / 445.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2458, allocations: 3.938 kB / 445.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2458, allocations: 42.48 kB / 445.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2458, allocations: 4 kB / 445.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001182/0.247, allocations: 0.8775 MB / 446.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2471, allocations: 81.05 kB / 446.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2473, allocations: 312.5 kB / 446.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2473, allocations: 25.7 kB / 446.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.2474, allocations: 255.5 kB / 446.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.2475, allocations: 67.09 kB / 447 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.2476, allocations: 57.89 kB / 447 MB, free: 4.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.2476, allocations: 354.7 kB / 447.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2478, allocations: 96.22 kB / 447.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2479, allocations: 197.4 kB / 447.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.2482, allocations: 328.5 kB / 448 MB, free: 3.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2482, allocations: 8 kB / 448 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000715/0.249, allocations: 465.4 kB / 448.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.249, allocations: 4.438 kB / 448.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005026/0.2495, allocations: 321.5 kB / 448.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.25, allocations: 140.7 kB / 448.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2501, allocations: 47.92 kB / 448.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.2527, allocations: 2.443 MB / 451.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2528, allocations: 12 kB / 451.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2529, allocations: 19.94 kB / 451.4 MB, free: 15.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002733/0.2532, allocations: 189.9 kB / 451.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.2532, allocations: 27.62 kB / 451.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.2538, allocations: 269.3 kB / 451.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2538, allocations: 3.938 kB / 451.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2538, allocations: 4 kB / 451.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2538, allocations: 3.984 kB / 451.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.255, allocations: 0.7414 MB / 452.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.255, allocations: 4 kB / 452.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.2553, allocations: 31.98 kB / 452.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.2554, allocations: 40.77 kB / 452.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2554, allocations: 12.05 kB / 452.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2554, allocations: 4 kB / 452.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2554, allocations: 0 / 452.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.256, allocations: 442.4 kB / 453.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.2561, allocations: 104.8 kB / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.2561, allocations: 12 kB / 453.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2563, allocations: 7.984 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.2563, allocations: 15.92 kB / 453.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2563, allocations: 4 kB / 453.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2566, allocations: 219 kB / 453.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2566, allocations: 0 / 453.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.257, allocations: 88 kB / 453.6 MB, free: 13.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.2572, allocations: 107.2 kB / 453.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.2578, allocations: 410.8 kB / 454.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2579, allocations: 4.125 kB / 454.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.258, allocations: 185.8 kB / 454.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2585, allocations: 65.09 kB / 454.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2601, allocations: 0.8664 MB / 455.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.2606, allocations: 0.8457 MB / 456.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.2609, allocations: 62.91 kB / 456.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.2609, allocations: 31.38 kB / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2609, allocations: 0 / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.008179/0.2691, allocations: 3.801 MB / 460 MB, free: 6.645 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)