Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001524/0.001524, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.748/1.748, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1847/0.1847, allocations: 37.99 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.001508/0.001508, allocations: 63.91 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3043, allocations: 55.25 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005483/0.3098, allocations: 4.341 MB / 436.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3114, allocations: 0.9749 MB / 437.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.3116, allocations: 11.94 kB / 437.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3119, allocations: 51.5 kB / 437.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.3125, allocations: 238.8 kB / 437.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3128, allocations: 103.8 kB / 437.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.3133, allocations: 0.4906 MB / 438.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.3136, allocations: 155.8 kB / 438.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.3139, allocations: 219.1 kB / 438.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.3143, allocations: 267 kB / 438.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.3143, allocations: 24 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.3144, allocations: 24 kB / 438.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3145, allocations: 155.6 kB / 439.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.3147, allocations: 179.1 kB / 439.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.3151, allocations: 358.8 kB / 439.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3151, allocations: 3.938 kB / 439.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3151, allocations: 0 / 439.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3151, allocations: 7.938 kB / 439.6 MB, free: 11.9 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001132/0.3162, allocations: 0.6594 MB / 440.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3163, allocations: 11.89 kB / 440.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.3164, allocations: 40.47 kB / 440.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.317, allocations: 387.7 kB / 440.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.317, allocations: 24.69 kB / 440.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.3171, allocations: 28 kB / 440.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.3176, allocations: 348.7 kB / 441.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.3176, allocations: 0 / 441.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3176, allocations: 12 kB / 441.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.875e-05/0.3177, allocations: 28.53 kB / 441.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.3181, allocations: 242 kB / 441.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3195, allocations: 1.359 MB / 442.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.3199, allocations: 173 kB / 442.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.3201, allocations: 109.7 kB / 443 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3201, allocations: 0 / 443 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3201, allocations: 38.56 kB / 443 MB, free: 8.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3201, allocations: 0 / 443 MB, free: 8.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001189/0.3213, allocations: 0.7559 MB / 443.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3214, allocations: 85.11 kB / 443.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3217, allocations: 292.6 kB / 444.1 MB, free: 7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3217, allocations: 25.7 kB / 444.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3218, allocations: 227.7 kB / 444.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3218, allocations: 59.19 kB / 444.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.3219, allocations: 53.64 kB / 444.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.322, allocations: 334.8 kB / 444.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.3221, allocations: 63.95 kB / 444.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3222, allocations: 172.8 kB / 445.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3225, allocations: 252.6 kB / 445.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3225, allocations: 0 / 445.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004082/0.3229, allocations: 322 kB / 445.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.323, allocations: 8 kB / 445.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.323, allocations: 4 kB / 445.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.3232, allocations: 52.81 kB / 445.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3234, allocations: 51.91 kB / 445.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.3244, allocations: 1.601 MB / 447.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3246, allocations: 15.98 kB / 447.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3246, allocations: 12 kB / 447.4 MB, free: 3.512 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.3247, allocations: 177.8 kB / 447.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3248, allocations: 23.72 kB / 447.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.3251, allocations: 248.2 kB / 447.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3251, allocations: 7.984 kB / 447.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3251, allocations: 0 / 447.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3251, allocations: 0 / 447.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.3259, allocations: 0.6405 MB / 448.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3259, allocations: 0 / 448.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.326, allocations: 27.92 kB / 448.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.3261, allocations: 56.7 kB / 448.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3262, allocations: 11.98 kB / 448.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000868/0.327, allocations: 1.597 MB / 450.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3271, allocations: 4.156 kB / 450.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.3274, allocations: 409.5 kB / 450.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.3275, allocations: 100.8 kB / 450.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3276, allocations: 12 kB / 450.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3277, allocations: 0 / 450.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3278, allocations: 24.03 kB / 450.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3278, allocations: 4 kB / 450.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.328, allocations: 207.1 kB / 450.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.328, allocations: 0 / 450.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.3284, allocations: 75.94 kB / 451 MB, free: 15.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.3285, allocations: 95.19 kB / 451.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.3291, allocations: 318.2 kB / 451.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.3292, allocations: 4 kB / 451.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3295, allocations: 199.5 kB / 451.6 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.33, allocations: 71.31 kB / 451.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3313, allocations: 0.7321 MB / 452.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3317, allocations: 0.8104 MB / 453.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.3319, allocations: 38.97 kB / 453.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.3319, allocations: 27.38 kB / 453.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3319, allocations: 0 / 453.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Templates: time 0.006742/0.3387, allocations: 2.938 MB / 456.2 MB, free: 10.35 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)