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.001002/0.001002, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.00111/0.00111, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.439/1.439, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1834/0.1834, allocations: 38.03 MB / 310.1 MB, free: 5.996 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.0004996/0.0004998, allocations: 12 kB / 377.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.0049/0.2866, allocations: 4.191 MB / 437.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.2888, allocations: 1.088 MB / 438.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005185/0.2893, allocations: 23.81 kB / 438.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2896, allocations: 31.77 kB / 438.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.2903, allocations: 151.3 kB / 439 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2905, allocations: 75.91 kB / 439.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.2911, allocations: 0.4984 MB / 439.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2913, allocations: 72.8 kB / 439.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.2917, allocations: 135.2 kB / 439.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.2921, allocations: 171.3 kB / 439.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2922, allocations: 8 kB / 439.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.2922, allocations: 15.94 kB / 439.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.2923, allocations: 71.8 kB / 440 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2925, allocations: 141 kB / 440.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2928, allocations: 239 kB / 440.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2928, allocations: 0 / 440.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2928, allocations: 3.984 kB / 440.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2928, allocations: 0 / 440.4 MB, free: 11.75 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.0009397/0.2937, allocations: 0.5194 MB / 440.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.2938, allocations: 8.031 kB / 440.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.2939, allocations: 32.56 kB / 440.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.2943, allocations: 296.1 kB / 441.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2944, allocations: 16.38 kB / 441.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2944, allocations: 27.91 kB / 441.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.2948, allocations: 273.8 kB / 441.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2948, allocations: 3.938 kB / 441.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2948, allocations: 8 kB / 441.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2948, allocations: 4 kB / 441.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.2951, allocations: 159.8 kB / 441.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2962, allocations: 1.175 MB / 442.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2963, allocations: 81.17 kB / 443 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.2964, allocations: 29.75 kB / 443 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2964, allocations: 4 kB / 443 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2964, allocations: 34.5 kB / 443 MB, free: 8.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2965, allocations: 0 / 443 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006697/0.2971, allocations: 420.7 kB / 443.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2972, allocations: 81.11 kB / 443.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2974, allocations: 242.5 kB / 443.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.2974, allocations: 25.7 kB / 443.8 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.2975, allocations: 191.6 kB / 444 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.2975, allocations: 27.64 kB / 444 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2975, allocations: 25.72 kB / 444 MB, free: 7.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.2976, allocations: 338.9 kB / 444.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.2977, allocations: 27.98 kB / 444.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.2977, allocations: 120.7 kB / 444.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2979, allocations: 164.7 kB / 444.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2979, allocations: 0 / 444.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002274/0.2981, allocations: 189 kB / 444.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2982, allocations: 11.98 kB / 444.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2982, allocations: 4 kB / 444.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2982, allocations: 8.375 kB / 444.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2983, allocations: 44.36 kB / 444.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2984, allocations: 4 kB / 444.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2985, allocations: 11.94 kB / 444.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.2985, allocations: 12 kB / 444.9 MB, free: 6.746 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 0.0001073/0.2986, allocations: 149.8 kB / 445.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2986, allocations: 23.72 kB / 445.1 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2988, allocations: 99.25 kB / 445.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2988, allocations: 4 kB / 445.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2988, allocations: 4 kB / 445.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2988, allocations: 0 / 445.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.2992, allocations: 419.2 kB / 445.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2992, allocations: 4 kB / 445.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2993, allocations: 15.98 kB / 445.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2993, allocations: 0 / 445.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2993, allocations: 8 kB / 445.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2993, allocations: 0 / 445.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2993, allocations: 0 / 445.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2995, allocations: 232.9 kB / 445.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.2996, allocations: 92.89 kB / 446 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2996, allocations: 11.98 kB / 446 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.2997, allocations: 0 / 446 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.2998, allocations: 4 kB / 446 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.2998, allocations: 8.062 kB / 446 MB, free: 5.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2999, allocations: 173.9 kB / 446.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2999, allocations: 4 kB / 446.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3002, allocations: 36 kB / 446.2 MB, free: 5.371 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 0.0001139/0.3003, allocations: 103.2 kB / 446.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3005, allocations: 84.53 kB / 446.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3005, allocations: 4.125 kB / 446.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.3006, allocations: 24 kB / 446.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3011, allocations: 61 kB / 446.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.302, allocations: 0.633 MB / 447.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3023, allocations: 0.7599 MB / 447.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.3024, allocations: 26.27 kB / 447.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.3024, allocations: 23.44 kB / 447.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3024, allocations: 0 / 447.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Templates: time 0.00507/0.3075, allocations: 1.666 MB / 449.6 MB, free: 1.934 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: