Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001745, allocations: 184.9 kB / 16.72 MB, free: 4.938 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.396/1.396, 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.0009769/0.0009769, allocations: 85.52 kB / 294.4 MB, free: 9.484 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.3373/0.3373, allocations: 38.12 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 12 kB / 453.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3611, allocations: 59.13 MB / 0.5006 GB, free: 38.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004894/0.3661, allocations: 4.104 MB / 0.5046 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3678, allocations: 1.25 MB / 0.5058 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3681, allocations: 20.56 kB / 0.5058 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.3682, allocations: 36.64 kB / 0.5059 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.3687, allocations: 151.1 kB / 0.506 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.3689, allocations: 71.16 kB / 0.5061 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.3695, allocations: 0.4978 MB / 0.5066 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.3697, allocations: 68.56 kB / 0.5066 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.3699, allocations: 139.6 kB / 0.5068 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3703, allocations: 166.1 kB / 0.5069 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.3703, allocations: 10.66 kB / 0.5069 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.3704, allocations: 9.375 kB / 0.507 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3705, allocations: 84.48 kB / 0.507 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3706, allocations: 139.4 kB / 0.5072 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.3709, allocations: 237.7 kB / 0.5074 GB, free: 37.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3709, allocations: 1.125 kB / 0.5074 GB, free: 37.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.371, allocations: 0 / 0.5074 GB, free: 37.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.371, allocations: 3.938 kB / 0.5074 GB, free: 37.08 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.0007452/0.3717, allocations: 0.5139 MB / 0.5079 GB, free: 36.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3718, allocations: 9.438 kB / 0.5079 GB, free: 36.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.3718, allocations: 33.59 kB / 0.5079 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.3722, allocations: 304.3 kB / 0.5082 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3723, allocations: 21.16 kB / 0.5083 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.3723, allocations: 16.56 kB / 0.5083 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.3727, allocations: 271.7 kB / 0.5085 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3727, allocations: 0 / 0.5085 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3728, allocations: 11.91 kB / 0.5085 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3728, allocations: 5.156 kB / 0.5085 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.3731, allocations: 163.8 kB / 0.5087 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3742, allocations: 1.179 MB / 0.5099 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3743, allocations: 71.58 kB / 0.5099 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.3744, allocations: 35.28 kB / 0.51 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3744, allocations: 1.219 kB / 0.51 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3744, allocations: 33.73 kB / 0.51 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3745, allocations: 2.5 kB / 0.51 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006402/0.3751, allocations: 409.4 kB / 0.5104 GB, free: 34.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3751, allocations: 83.8 kB / 0.5105 GB, free: 34.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3754, allocations: 239.8 kB / 0.5107 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.3754, allocations: 25.7 kB / 0.5107 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.3755, allocations: 198 kB / 0.5109 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3755, allocations: 34.47 kB / 0.5109 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.3755, allocations: 0 / 0.5109 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.3756, allocations: 342.9 kB / 0.5113 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.3757, allocations: 26.08 kB / 0.5113 GB, free: 33.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.3758, allocations: 113.7 kB / 0.5114 GB, free: 33.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3759, allocations: 163.1 kB / 0.5116 GB, free: 33.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3759, allocations: 1.281 kB / 0.5116 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002415/0.3762, allocations: 177.5 kB / 0.5117 GB, free: 33.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3762, allocations: 10.56 kB / 0.5117 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3762, allocations: 3.312 kB / 0.5117 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3762, allocations: 9.516 kB / 0.5117 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3764, allocations: 41.06 kB / 0.5118 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3764, allocations: 17.47 kB / 0.5118 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/0.3765, allocations: 4.094 kB / 0.5118 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3765, allocations: 16.62 kB / 0.5118 GB, free: 33.41 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 (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.0001106/0.3767, allocations: 148.3 kB / 0.512 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3767, allocations: 21.19 kB / 0.512 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.3769, allocations: 99.48 kB / 0.5121 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3769, allocations: 1.344 kB / 0.5121 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3769, allocations: 8.484 kB / 0.5121 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3769, allocations: 6.375 kB / 0.5121 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.3773, allocations: 417 kB / 0.5125 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3773, allocations: 2.875 kB / 0.5125 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.3774, allocations: 17.67 kB / 0.5125 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3774, allocations: 2.969 kB / 0.5125 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3774, allocations: 0.6562 kB / 0.5125 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3774, allocations: 2.844 kB / 0.5125 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3774, allocations: 0 / 0.5125 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3777, allocations: 241.5 kB / 0.5127 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.3777, allocations: 97.64 kB / 0.5128 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3777, allocations: 2.938 kB / 0.5128 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.3778, allocations: 0 / 0.5128 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.3779, allocations: 8.906 kB / 0.5129 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3779, allocations: 3.969 kB / 0.5129 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.378, allocations: 172.2 kB / 0.513 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.378, allocations: 0 / 0.513 GB, free: 32.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.3783, allocations: 40.41 kB / 0.5131 GB, free: 32.4 MB / 378.7 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 9.412e-05/0.3784, allocations: 110.9 kB / 0.5132 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3786, allocations: 79.14 kB / 0.5132 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3786, allocations: 7.031 kB / 0.5132 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.3786, allocations: 30.28 kB / 0.5133 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.3791, allocations: 53.61 kB / 0.5133 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.3799, allocations: 0.632 MB / 0.5139 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3801, allocations: 0.7555 MB / 0.5147 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3802, allocations: 31.52 kB / 0.5147 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3802, allocations: 23.16 kB / 0.5147 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3803, allocations: 0 / 0.5147 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.004163/0.3844, allocations: 1.673 MB / 0.5164 GB, free: 30.94 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (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)