Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 110 kB / 17.68 MB, free: 5.332 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.001079/0.001079, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.409/1.409, 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.1848/0.1848, allocations: 37.98 MB / 309.8 MB, free: 5.969 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.00157/0.00157, allocations: 68.47 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005956/0.2873, allocations: 4.071 MB / 436.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2888, allocations: 0.9555 MB / 437 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2889, allocations: 7.938 kB / 437.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2891, allocations: 43.52 kB / 437.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.2897, allocations: 183 kB / 437.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.2899, allocations: 91.81 kB / 437.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.2903, allocations: 402.5 kB / 437.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2905, allocations: 130.2 kB / 437.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2907, allocations: 179.2 kB / 438.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.291, allocations: 183.3 kB / 438.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.291, allocations: 20 kB / 438.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.2911, allocations: 16 kB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.2912, allocations: 91.72 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2913, allocations: 135.3 kB / 438.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2916, allocations: 294.9 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2916, allocations: 0 / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2916, allocations: 0 / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2916, allocations: 3.938 kB / 438.8 MB, free: 12.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008508/0.2925, allocations: 0.5932 MB / 439.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2925, allocations: 11.89 kB / 439.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.2926, allocations: 40.5 kB / 439.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.293, allocations: 338.9 kB / 439.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2931, allocations: 24.56 kB / 439.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.2931, allocations: 23.98 kB / 439.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.2935, allocations: 286.8 kB / 440.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2935, allocations: 4 kB / 440.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.2935, allocations: 12 kB / 440.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2935, allocations: 4 kB / 440.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.2938, allocations: 176.9 kB / 440.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2949, allocations: 1.232 MB / 441.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2952, allocations: 109.2 kB / 441.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.2953, allocations: 45.77 kB / 441.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2953, allocations: 0 / 441.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2954, allocations: 38.56 kB / 441.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.2954, allocations: 0 / 441.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007301/0.2961, allocations: 487.5 kB / 442.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2962, allocations: 81.11 kB / 442.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.2964, allocations: 242.6 kB / 442.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2964, allocations: 29.7 kB / 442.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.2965, allocations: 203.5 kB / 442.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.2965, allocations: 36.33 kB / 442.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.2966, allocations: 53.64 kB / 442.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.2967, allocations: 334.8 kB / 443.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.2967, allocations: 35.98 kB / 443.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.2968, allocations: 136.7 kB / 443.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.297, allocations: 192.6 kB / 443.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.297, allocations: 0 / 443.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002336/0.2972, allocations: 205 kB / 443.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2973, allocations: 8.438 kB / 443.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2973, allocations: 8 kB / 443.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2973, allocations: 4 kB / 443.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2974, allocations: 47.91 kB / 443.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2975, allocations: 4 kB / 443.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2976, allocations: 11.94 kB / 443.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2976, allocations: 12 kB / 443.8 MB, free: 7.254 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 (24): * Single equations (assignments): 24 * 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.0001072/0.2977, allocations: 153.7 kB / 443.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2978, allocations: 23.7 kB / 444 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.298, allocations: 135.3 kB / 444.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.298, allocations: 3.938 kB / 444.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.298, allocations: 4 kB / 444.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.298, allocations: 7.875 kB / 444.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.2984, allocations: 471.3 kB / 444.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2984, allocations: 8 kB / 444.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2985, allocations: 19.94 kB / 444.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2985, allocations: 7.984 kB / 444.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2986, allocations: 7.938 kB / 444.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2986, allocations: 4.031 kB / 444.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2986, allocations: 4 kB / 444.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2988, allocations: 268.9 kB / 444.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2989, allocations: 96.86 kB / 445 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.2989, allocations: 7.938 kB / 445 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.299, allocations: 11.98 kB / 445 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.2991, allocations: 8 kB / 445 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2991, allocations: 4 kB / 445 MB, free: 5.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.2992, allocations: 174 kB / 445.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2992, allocations: 3.938 kB / 445.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.2995, allocations: 44 kB / 445.2 MB, free: 5.699 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 (13): * Single equations (assignments): 12 * 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.341e-05/0.2996, allocations: 99.25 kB / 445.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.2998, allocations: 119.8 kB / 445.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2998, allocations: 0 / 445.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.2999, allocations: 43.92 kB / 445.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3004, allocations: 56.88 kB / 445.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.3012, allocations: 0.5442 MB / 446.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3014, allocations: 0.7675 MB / 446.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.81e-05/0.3015, allocations: 30.28 kB / 446.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.3016, allocations: 27.44 kB / 446.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3016, allocations: 3.938 kB / 446.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of Templates: time 0.004812/0.3064, allocations: 1.989 MB / 448.9 MB, free: 1.973 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)