Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 107 kB / 16.62 MB, free: 6.805 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.001467/0.001467, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 66.16 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1645, allocations: 58.05 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007142/0.1717, allocations: 5.056 MB / 461.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1747, allocations: 1.702 MB / 463.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.1751, allocations: 27.81 kB / 463.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009276/0.1761, allocations: 263 kB / 463.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.1768, allocations: 258.9 kB / 463.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.1775, allocations: 227.6 kB / 463.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006761/0.1782, allocations: 0.6079 MB / 464.5 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.1786, allocations: 239.8 kB / 464.7 MB, free: 24 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.179, allocations: 262.9 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.1795, allocations: 394.8 kB / 465.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.1796, allocations: 40 kB / 465.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.1801, allocations: 235.6 kB / 465.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.1803, allocations: 239.5 kB / 465.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.1806, allocations: 250.7 kB / 466.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.1813, allocations: 0.6659 MB / 466.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1814, allocations: 0 / 466.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1814, allocations: 0 / 466.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1814, allocations: 3.938 kB / 466.8 MB, free: 13.96 MB / 350.1 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.001467/0.1829, allocations: 0.7738 MB / 467.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1829, allocations: 11.89 kB / 467.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/0.1836, allocations: 92.2 kB / 467.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.1842, allocations: 403.2 kB / 468 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.1842, allocations: 29.36 kB / 468.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1844, allocations: 48.11 kB / 468.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.1854, allocations: 0.6915 MB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1854, allocations: 4 kB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.1855, allocations: 19.98 kB / 468.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.1857, allocations: 60.95 kB / 468.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1867, allocations: 0.6791 MB / 469.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.1903, allocations: 2.654 MB / 472.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.1909, allocations: 314.9 kB / 472.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.1912, allocations: 205.7 kB / 472.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.1913, allocations: 15.98 kB / 472.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1913, allocations: 30.56 kB / 472.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/0.1913, allocations: 0 / 472.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002043/0.1934, allocations: 1.298 MB / 474.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1934, allocations: 81.11 kB / 474.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1937, allocations: 295.4 kB / 474.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1938, allocations: 29.7 kB / 474.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1939, allocations: 247.6 kB / 474.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.194, allocations: 138 kB / 474.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1942, allocations: 82.03 kB / 474.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1943, allocations: 354.7 kB / 475.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.1946, allocations: 184.9 kB / 475.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.195, allocations: 333.2 kB / 475.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.1957, allocations: 0.5662 MB / 476.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1957, allocations: 0 / 476.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001238/0.1969, allocations: 0.6857 MB / 477 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1969, allocations: 8 kB / 477 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008181/0.1978, allocations: 487.5 kB / 477.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.1982, allocations: 113.9 kB / 477.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.1985, allocations: 79.83 kB / 477.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.2014, allocations: 3.254 MB / 480.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2016, allocations: 31.91 kB / 481 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.2017, allocations: 16 kB / 481 MB, free: 14.88 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.2019, allocations: 203.7 kB / 481.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.202, allocations: 39.52 kB / 481.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.2028, allocations: 472.6 kB / 481.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.2028, allocations: 15.94 kB / 481.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.2028, allocations: 0 / 481.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2028, allocations: 16.06 kB / 481.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.2043, allocations: 1.013 MB / 482.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2043, allocations: 0 / 482.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.2046, allocations: 67.88 kB / 482.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.2047, allocations: 7.938 kB / 482.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2047, allocations: 8 kB / 482.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2047, allocations: 3.984 kB / 482.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2047, allocations: 4 kB / 482.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.2057, allocations: 0.7435 MB / 483.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2058, allocations: 136.7 kB / 483.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.2059, allocations: 15.92 kB / 483.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2061, allocations: 15.97 kB / 483.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.2061, allocations: 19.92 kB / 483.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2062, allocations: 19.98 kB / 483.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.2065, allocations: 199.1 kB / 484 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2065, allocations: 0 / 484 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005141/0.207, allocations: 116 kB / 484.1 MB, free: 11.65 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/0.2072, allocations: 127.2 kB / 484.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2085, allocations: 0.7944 MB / 485 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2085, allocations: 0 / 485 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.2088, allocations: 213 kB / 485.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.2093, allocations: 74.58 kB / 485.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.211, allocations: 1.299 MB / 486.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.2115, allocations: 0.8746 MB / 487.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.2118, allocations: 111.1 kB / 487.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2119, allocations: 27.44 kB / 487.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2119, allocations: 0 / 487.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Templates: time 0.008699/0.2206, allocations: 4.187 MB / 491.8 MB, free: 3.887 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)