Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 181.6 kB / 16.71 MB, free: 4.836 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.7 MB / 243.2 MB, free: 8.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007799/0.0007803, allocations: 93.48 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3184/0.3184, allocations: 38.12 MB / 383.6 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 453.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3038, allocations: 59.13 MB / 0.5006 GB, free: 38.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004183/0.308, allocations: 3.276 MB / 0.5038 GB, free: 38.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3105, allocations: 2.57 MB / 0.5063 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.3109, allocations: 10.41 kB / 0.5063 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.3112, allocations: 32.53 kB / 0.5064 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.3121, allocations: 265.1 kB / 0.5066 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.3125, allocations: 100.8 kB / 0.5067 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.3134, allocations: 0.555 MB / 0.5072 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/0.3143, allocations: 480.2 kB / 0.5077 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.3147, allocations: 124 kB / 0.5078 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.3151, allocations: 150.4 kB / 0.508 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3151, allocations: 7.781 kB / 0.508 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.316, allocations: 358.3 kB / 0.5083 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3162, allocations: 94.2 kB / 0.5084 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3164, allocations: 122.7 kB / 0.5085 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.3171, allocations: 357.6 kB / 0.5089 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3171, allocations: 4.188 kB / 0.5089 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3171, allocations: 0 / 0.5089 GB, free: 35.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3171, allocations: 0 / 0.5089 GB, free: 35.8 MB / 378.7 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.000749/0.3179, allocations: 478.8 kB / 0.5093 GB, free: 35.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.318, allocations: 8.781 kB / 0.5093 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/0.3188, allocations: 91.42 kB / 0.5094 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.3192, allocations: 259.6 kB / 0.5097 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3192, allocations: 16 kB / 0.5097 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.3193, allocations: 19.62 kB / 0.5097 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.3199, allocations: 315.3 kB / 0.51 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3199, allocations: 1 kB / 0.51 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3199, allocations: 10.22 kB / 0.51 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.32, allocations: 15.03 kB / 0.51 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.3205, allocations: 293 kB / 0.5103 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.322, allocations: 1.296 MB / 0.5116 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.3226, allocations: 208.4 kB / 0.5118 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.3227, allocations: 61.05 kB / 0.5118 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3227, allocations: 3.547 kB / 0.5118 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3228, allocations: 33.72 kB / 0.5119 GB, free: 33.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.3228, allocations: 0 / 0.5119 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001013/0.3238, allocations: 432.1 kB / 0.5123 GB, free: 33.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3238, allocations: 84 kB / 0.5124 GB, free: 33.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3241, allocations: 203.9 kB / 0.5125 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3241, allocations: 29.7 kB / 0.5126 GB, free: 33.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.3242, allocations: 166.8 kB / 0.5127 GB, free: 33.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3242, allocations: 44.84 kB / 0.5128 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.3242, allocations: 4.656 kB / 0.5128 GB, free: 32.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.3243, allocations: 332.2 kB / 0.5131 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.3244, allocations: 49.67 kB / 0.5131 GB, free: 32.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3245, allocations: 154.1 kB / 0.5133 GB, free: 32.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.3247, allocations: 223.6 kB / 0.5135 GB, free: 32.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3247, allocations: 4 kB / 0.5135 GB, free: 32.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003738/0.3251, allocations: 257.6 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3251, allocations: 5.812 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3251, allocations: 3.375 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.3254, allocations: 46.39 kB / 0.5138 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3255, allocations: 36.95 kB / 0.5138 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008859/0.3264, allocations: 1.346 MB / 0.5152 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3265, allocations: 9.938 kB / 0.5152 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3266, allocations: 16.8 kB / 0.5152 GB, free: 30.82 MB / 378.7 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): 23 * 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.0001417/0.3267, allocations: 162.6 kB / 0.5153 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3268, allocations: 20.75 kB / 0.5154 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.3271, allocations: 191.8 kB / 0.5155 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3271, allocations: 2.75 kB / 0.5155 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3271, allocations: 2.594 kB / 0.5155 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3271, allocations: 3.375 kB / 0.5156 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.3278, allocations: 0.564 MB / 0.5161 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3278, allocations: 0 / 0.5161 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.3279, allocations: 24.8 kB / 0.5161 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.3281, allocations: 29.59 kB / 0.5162 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3281, allocations: 6.844 kB / 0.5162 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007735/0.3289, allocations: 1.321 MB / 0.5175 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3289, allocations: 0 / 0.5175 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.3292, allocations: 298.5 kB / 0.5177 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.3293, allocations: 94.3 kB / 0.5178 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3293, allocations: 10.34 kB / 0.5178 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3294, allocations: 6.625 kB / 0.5178 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3295, allocations: 9.156 kB / 0.5179 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3295, allocations: 2.688 kB / 0.5179 GB, free: 28.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.291e-05/0.3296, allocations: 147.5 kB / 0.518 GB, free: 28.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3296, allocations: 0 / 0.518 GB, free: 28.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.33, allocations: 48.84 kB / 0.518 GB, free: 28.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * 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: 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.0001038/0.3301, allocations: 110.1 kB / 0.5181 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.3305, allocations: 278.1 kB / 0.5184 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3305, allocations: 0 / 0.5184 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3307, allocations: 181.9 kB / 0.5186 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3311, allocations: 39.12 kB / 0.5186 GB, free: 27.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.3319, allocations: 0.5316 MB / 0.5191 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3322, allocations: 0.7532 MB / 0.5199 GB, free: 26.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3324, allocations: 48.58 kB / 0.5199 GB, free: 26.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.3325, allocations: 16.91 kB / 0.5199 GB, free: 26.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3325, allocations: 5.219 kB / 0.5199 GB, free: 26.86 MB / 378.7 MB Notification: Performance of Templates: time 0.005309/0.3378, allocations: 1.582 MB / 0.5215 GB, free: 26.72 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)