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.001129/0.001129, allocations: 114.1 kB / 17.69 MB, free: 5.309 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.001221/0.001221, allocations: 187 kB / 18.63 MB, free: 4.379 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.648/1.648, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, 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.001548/0.001548, allocations: 75.83 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2812, allocations: 55.24 MB / 432 MB, free: 19.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005201/0.2865, allocations: 3.912 MB / 435.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2879, allocations: 0.9165 MB / 436.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2881, allocations: 15.88 kB / 436.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2883, allocations: 39.64 kB / 436.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.2889, allocations: 159.1 kB / 437.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.289, allocations: 91.81 kB / 437.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.2894, allocations: 370.7 kB / 437.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2895, allocations: 84.55 kB / 437.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.2897, allocations: 167.3 kB / 437.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.29, allocations: 163.3 kB / 437.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.29, allocations: 20 kB / 437.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.2901, allocations: 16 kB / 438 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.2902, allocations: 83.73 kB / 438 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2903, allocations: 123.3 kB / 438.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.2905, allocations: 251.1 kB / 438.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2905, allocations: 0 / 438.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.2905, allocations: 7.984 kB / 438.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.2906, allocations: 0 / 438.4 MB, free: 13.23 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.0008023/0.2914, allocations: 0.5676 MB / 439 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2914, allocations: 15.89 kB / 439 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.2915, allocations: 24.66 kB / 439 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.2919, allocations: 335.5 kB / 439.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.292, allocations: 24.34 kB / 439.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.292, allocations: 27.94 kB / 439.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2924, allocations: 262.1 kB / 439.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2924, allocations: 3.938 kB / 439.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2925, allocations: 8 kB / 439.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2925, allocations: 4 kB / 439.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.2927, allocations: 171.8 kB / 439.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2938, allocations: 1.164 MB / 441 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.294, allocations: 81.14 kB / 441.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.294, allocations: 29.78 kB / 441.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.294, allocations: 0 / 441.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2941, allocations: 34.56 kB / 441.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.2941, allocations: 0 / 441.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006457/0.2947, allocations: 420.7 kB / 441.6 MB, free: 9.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2948, allocations: 89.12 kB / 441.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.295, allocations: 234.6 kB / 441.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.295, allocations: 33.7 kB / 441.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.2951, allocations: 191.5 kB / 442.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2951, allocations: 31.56 kB / 442.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.2952, allocations: 41.64 kB / 442.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.2952, allocations: 334.8 kB / 442.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.2953, allocations: 28.42 kB / 442.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.2954, allocations: 120.8 kB / 442.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2955, allocations: 164.7 kB / 442.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2955, allocations: 0 / 442.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000204/0.2957, allocations: 189 kB / 443 MB, free: 8.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2957, allocations: 8 kB / 443 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2957, allocations: 7.938 kB / 443 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2958, allocations: 4 kB / 443 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2959, allocations: 43.92 kB / 443 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2959, allocations: 8.422 kB / 443.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.296, allocations: 8 kB / 443.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2961, allocations: 12 kB / 443.1 MB, free: 8.125 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 9.705e-05/0.2962, allocations: 145.8 kB / 443.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.2962, allocations: 19.72 kB / 443.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2964, allocations: 99.27 kB / 443.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2964, allocations: 4 kB / 443.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2964, allocations: 0 / 443.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2964, allocations: 3.984 kB / 443.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.2967, allocations: 427.2 kB / 443.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2967, allocations: 0 / 443.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.2968, allocations: 12 kB / 443.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2968, allocations: 4 kB / 443.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2969, allocations: 3.984 kB / 443.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2969, allocations: 0 / 443.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2969, allocations: 4 kB / 443.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.2971, allocations: 232.8 kB / 444 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.2971, allocations: 96.95 kB / 444.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2971, allocations: 0 / 444.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.2972, allocations: 0 / 444.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.2973, allocations: 11.92 kB / 444.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2973, allocations: 11.94 kB / 444.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2974, allocations: 170 kB / 444.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2974, allocations: 4.062 kB / 444.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2977, allocations: 40 kB / 444.3 MB, free: 6.75 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 9.478e-05/0.2978, allocations: 99.17 kB / 444.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.298, allocations: 88.59 kB / 444.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.298, allocations: 0 / 444.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.298, allocations: 39.97 kB / 444.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2985, allocations: 60.58 kB / 444.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.2993, allocations: 496.8 kB / 445.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2995, allocations: 0.7597 MB / 445.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.2996, allocations: 34.27 kB / 445.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.2996, allocations: 19.44 kB / 445.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2996, allocations: 0 / 445.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of Templates: time 0.004432/0.304, allocations: 1.749 MB / 447.7 MB, free: 3.363 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)