Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 113 kB / 17.68 MB, free: 5.473 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.001331/0.001331, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.502/1.502, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1796/0.1796, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001616/0.001616, allocations: 63.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2214, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004796/0.2263, allocations: 3.912 MB / 435.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2276, allocations: 0.9163 MB / 436.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.2278, allocations: 11.94 kB / 436.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2281, allocations: 47.58 kB / 436.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.2286, allocations: 167.1 kB / 437.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2288, allocations: 75.84 kB / 437.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.2291, allocations: 382.6 kB / 437.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.2293, allocations: 80.56 kB / 437.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.2296, allocations: 159.3 kB / 437.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.2298, allocations: 167.3 kB / 437.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.2299, allocations: 20 kB / 437.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/0.2299, allocations: 16 kB / 438 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.23, allocations: 87.77 kB / 438 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.2301, allocations: 123.3 kB / 438.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2303, allocations: 255.1 kB / 438.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2303, allocations: 4 kB / 438.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2303, allocations: 0 / 438.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2303, allocations: 0 / 438.4 MB, free: 13.08 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006719/0.231, allocations: 0.5699 MB / 439 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2311, allocations: 15.83 kB / 439 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.2311, allocations: 28.66 kB / 439 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.2315, allocations: 335.5 kB / 439.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2315, allocations: 16.38 kB / 439.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.2316, allocations: 20 kB / 439.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.2319, allocations: 270 kB / 439.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2319, allocations: 4 kB / 439.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.2319, allocations: 8 kB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2319, allocations: 8 kB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2321, allocations: 163.8 kB / 439.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.233, allocations: 1.171 MB / 441 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.2331, allocations: 73.22 kB / 441.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2332, allocations: 29.72 kB / 441.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2332, allocations: 0 / 441.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2332, allocations: 42.56 kB / 441.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2332, allocations: 0 / 441.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005934/0.2338, allocations: 412.7 kB / 441.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2339, allocations: 81.05 kB / 441.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.234, allocations: 234.6 kB / 441.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2341, allocations: 33.69 kB / 441.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.2341, allocations: 195.7 kB / 442.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2342, allocations: 31.55 kB / 442.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2342, allocations: 45.64 kB / 442.2 MB, free: 9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.2343, allocations: 330.8 kB / 442.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.2343, allocations: 23.98 kB / 442.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.2344, allocations: 120.9 kB / 442.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.2345, allocations: 164.7 kB / 442.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2345, allocations: 7.938 kB / 442.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000198/0.2347, allocations: 181.9 kB / 443 MB, free: 8.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2347, allocations: 8 kB / 443 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2348, allocations: 7.938 kB / 443 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2348, allocations: 4 kB / 443 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2349, allocations: 39.92 kB / 443 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2349, allocations: 15.92 kB / 443 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.235, allocations: 8 kB / 443 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.235, allocations: 12 kB / 443.1 MB, free: 7.988 MB / 318.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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.2351, allocations: 141.8 kB / 443.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2352, allocations: 23.78 kB / 443.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2353, allocations: 103.3 kB / 443.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2353, allocations: 3.984 kB / 443.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2353, allocations: 4 kB / 443.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2353, allocations: 0 / 443.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.2356, allocations: 419.5 kB / 443.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2357, allocations: 0 / 443.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.2357, allocations: 23.92 kB / 443.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2358, allocations: 4.031 kB / 443.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2358, allocations: 4 kB / 443.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2358, allocations: 3.938 kB / 443.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2358, allocations: 0 / 443.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.236, allocations: 232.8 kB / 444 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.236, allocations: 96.94 kB / 444.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.236, allocations: 8.062 kB / 444.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.2361, allocations: 0 / 444.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.2362, allocations: 7.984 kB / 444.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2362, allocations: 4 kB / 444.1 MB, free: 6.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2363, allocations: 170 kB / 444.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2363, allocations: 0 / 444.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.2366, allocations: 40 kB / 444.3 MB, free: 6.613 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * 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 6.924e-05/0.2366, allocations: 107.1 kB / 444.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.2368, allocations: 83.84 kB / 444.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2368, allocations: 0 / 444.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.2368, allocations: 31.94 kB / 444.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2373, allocations: 63.34 kB / 444.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.2379, allocations: 0.489 MB / 445.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2381, allocations: 0.7557 MB / 445.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.2382, allocations: 34.27 kB / 445.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.2382, allocations: 19.53 kB / 445.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2382, allocations: 3.938 kB / 445.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of Templates: time 0.004003/0.2422, allocations: 1.749 MB / 447.6 MB, free: 3.227 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)