Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.3 kB / 16.71 MB, free: 4.965 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.374/1.374, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.0007618/0.0007619, allocations: 98.09 kB / 294.4 MB, free: 9.492 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.3131/0.3131, allocations: 38.12 MB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 19.92 kB / 453.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 59.13 MB / 0.5006 GB, free: 39.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00544/0.3106, allocations: 4.067 MB / 0.5046 GB, free: 38.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3122, allocations: 1.171 MB / 0.5057 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3124, allocations: 18.78 kB / 0.5057 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.3126, allocations: 35.16 kB / 0.5058 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.313, allocations: 148 kB / 0.5059 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3132, allocations: 77.19 kB / 0.506 GB, free: 38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.3138, allocations: 0.5169 MB / 0.5065 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.314, allocations: 98 kB / 0.5066 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.3143, allocations: 148.9 kB / 0.5067 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.3147, allocations: 180.6 kB / 0.5069 GB, free: 37.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.3147, allocations: 10.84 kB / 0.5069 GB, free: 37.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.3148, allocations: 11.69 kB / 0.5069 GB, free: 37.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3149, allocations: 73.61 kB / 0.507 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.3151, allocations: 160 kB / 0.5071 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.3154, allocations: 262.9 kB / 0.5074 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3154, allocations: 1.484 kB / 0.5074 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3154, allocations: 0.9375 kB / 0.5074 GB, free: 37.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3154, allocations: 0 / 0.5074 GB, free: 37.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008988/0.3163, allocations: 0.5593 MB / 0.5079 GB, free: 36.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3164, allocations: 9.75 kB / 0.5079 GB, free: 36.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.3165, allocations: 30.66 kB / 0.508 GB, free: 36.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3169, allocations: 317.8 kB / 0.5083 GB, free: 36.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3169, allocations: 14.31 kB / 0.5083 GB, free: 36.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3171, allocations: 38.42 kB / 0.5083 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.3174, allocations: 291.9 kB / 0.5086 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3175, allocations: 2.297 kB / 0.5086 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3175, allocations: 10.38 kB / 0.5086 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3175, allocations: 4.875 kB / 0.5086 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3178, allocations: 187 kB / 0.5088 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3191, allocations: 1.283 MB / 0.5101 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3194, allocations: 119 kB / 0.5102 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.3195, allocations: 44.95 kB / 0.5102 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3195, allocations: 11.98 kB / 0.5102 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3195, allocations: 33.31 kB / 0.5103 GB, free: 35.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3195, allocations: 0 / 0.5103 GB, free: 35.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007603/0.3203, allocations: 0.5286 MB / 0.5108 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3203, allocations: 105.8 kB / 0.5109 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3205, allocations: 242.2 kB / 0.5111 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3206, allocations: 30.89 kB / 0.5111 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.3207, allocations: 195 kB / 0.5113 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3207, allocations: 40.02 kB / 0.5114 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.3207, allocations: 8.781 kB / 0.5114 GB, free: 34.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.3208, allocations: 340.2 kB / 0.5117 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.3208, allocations: 36.39 kB / 0.5117 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.321, allocations: 132.4 kB / 0.5119 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3211, allocations: 185.8 kB / 0.512 GB, free: 33.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3212, allocations: 5.25 kB / 0.512 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003598/0.3215, allocations: 233.9 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3215, allocations: 5.75 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3216, allocations: 2.812 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.3217, allocations: 32 kB / 0.5123 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.322, allocations: 63.17 kB / 0.5124 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.322, allocations: 10.58 kB / 0.5124 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3221, allocations: 13.81 kB / 0.5124 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3221, allocations: 8.594 kB / 0.5124 GB, free: 33.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3223, allocations: 144.7 kB / 0.5125 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.3223, allocations: 23.53 kB / 0.5125 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3225, allocations: 147.7 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3226, allocations: 6.969 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3226, allocations: 3 kB / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3226, allocations: 0 / 0.5127 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.3229, allocations: 287.2 kB / 0.513 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3229, allocations: 0 / 0.513 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3231, allocations: 31.41 kB / 0.513 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3231, allocations: 2.25 kB / 0.513 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3231, allocations: 5.094 kB / 0.513 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3231, allocations: 6.031 kB / 0.513 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3231, allocations: 4.875 kB / 0.513 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3234, allocations: 363.9 kB / 0.5134 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.3235, allocations: 98.73 kB / 0.5135 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3235, allocations: 6.156 kB / 0.5135 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3237, allocations: 7.938 kB / 0.5135 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.3237, allocations: 17.23 kB / 0.5135 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3237, allocations: 2.906 kB / 0.5135 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3238, allocations: 167.8 kB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3238, allocations: 0 / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.3241, allocations: 45.28 kB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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): 13 * 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.205e-05/0.3242, allocations: 107.4 kB / 0.5138 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3245, allocations: 215.3 kB / 0.514 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3245, allocations: 0 / 0.514 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.3246, allocations: 50.62 kB / 0.5141 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3251, allocations: 51.8 kB / 0.5141 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.3259, allocations: 0.7702 MB / 0.5149 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.3261, allocations: 0.7676 MB / 0.5156 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.3262, allocations: 31.34 kB / 0.5156 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.3263, allocations: 22.53 kB / 0.5157 GB, free: 30.92 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3263, allocations: 3.938 kB / 0.5157 GB, free: 30.92 MB / 378.7 MB Notification: Performance of Templates: time 0.004885/0.3312, allocations: 2.076 MB / 0.5177 GB, free: 30.74 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)