Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 178.8 kB / 16.71 MB, free: 5.09 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.363/1.363, allocations: 225.7 MB / 243.2 MB, free: 8.504 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.0007863/0.0007863, allocations: 91.11 kB / 294.4 MB, free: 9.508 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.3426/0.3426, allocations: 38.12 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004111, allocations: 12 kB / 453.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3573, allocations: 59.14 MB / 0.5006 GB, free: 38.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00828/0.3657, allocations: 4.498 MB / 0.505 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3688, allocations: 1.303 MB / 0.5063 GB, free: 37.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.3696, allocations: 21.78 kB / 0.5063 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.3699, allocations: 40.62 kB / 0.5063 GB, free: 37.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.371, allocations: 230.5 kB / 0.5065 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3715, allocations: 85.28 kB / 0.5066 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3731, allocations: 0.8016 MB / 0.5074 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.3735, allocations: 126.1 kB / 0.5075 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.3741, allocations: 184 kB / 0.5077 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.3749, allocations: 269 kB / 0.508 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.029e-05/0.375, allocations: 12.59 kB / 0.508 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3752, allocations: 14.16 kB / 0.508 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3755, allocations: 132.7 kB / 0.5081 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.3759, allocations: 189.4 kB / 0.5083 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.3766, allocations: 345.1 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3766, allocations: 0 / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3766, allocations: 1.812 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.3766, allocations: 1.25 kB / 0.5086 GB, free: 36.7 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001534/0.3782, allocations: 0.5955 MB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3782, allocations: 9.031 kB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3784, allocations: 35.66 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.379, allocations: 364.1 kB / 0.5096 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3791, allocations: 29.42 kB / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.3792, allocations: 28.69 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.3799, allocations: 361.1 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3799, allocations: 1.5 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3799, allocations: 19.64 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.3801, allocations: 26.47 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.3806, allocations: 236.9 kB / 0.5103 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.3823, allocations: 1.382 MB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3826, allocations: 157.8 kB / 0.5118 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3828, allocations: 107.1 kB / 0.5119 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3829, allocations: 4 kB / 0.5119 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.3829, allocations: 37.5 kB / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/0.3829, allocations: 0 / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001267/0.3842, allocations: 0.7673 MB / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3842, allocations: 77.11 kB / 0.5127 GB, free: 33.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.3845, allocations: 293.5 kB / 0.513 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3845, allocations: 32.64 kB / 0.513 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3846, allocations: 215.5 kB / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3847, allocations: 58.98 kB / 0.5133 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.3847, allocations: 8.125 kB / 0.5133 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.3848, allocations: 340.1 kB / 0.5136 GB, free: 33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3849, allocations: 61.69 kB / 0.5137 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.385, allocations: 172.5 kB / 0.5139 GB, free: 32.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.3853, allocations: 239.7 kB / 0.5141 GB, free: 32.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3853, allocations: 4 kB / 0.5141 GB, free: 32.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004432/0.3857, allocations: 327.2 kB / 0.5144 GB, free: 32.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3857, allocations: 7.031 kB / 0.5144 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3858, allocations: 3.094 kB / 0.5144 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.386, allocations: 55.5 kB / 0.5145 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3861, allocations: 49.39 kB / 0.5145 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/0.3871, allocations: 1.495 MB / 0.516 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3873, allocations: 9.969 kB / 0.516 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3873, allocations: 12.75 kB / 0.516 GB, free: 31.1 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 (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.00016/0.3875, allocations: 173.6 kB / 0.5162 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3875, allocations: 23.19 kB / 0.5162 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.388, allocations: 241.4 kB / 0.5164 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.388, allocations: 2.656 kB / 0.5164 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.388, allocations: 5.125 kB / 0.5164 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.388, allocations: 0 / 0.5164 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.3888, allocations: 0.6397 MB / 0.5171 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3888, allocations: 0 / 0.5171 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3889, allocations: 24.5 kB / 0.5171 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.3891, allocations: 62.78 kB / 0.5171 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3891, allocations: 14.39 kB / 0.5171 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/0.39, allocations: 1.483 MB / 0.5186 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.39, allocations: 1.438 kB / 0.5186 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.3904, allocations: 401.5 kB / 0.519 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3905, allocations: 101.2 kB / 0.5191 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3906, allocations: 11.69 kB / 0.5191 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3907, allocations: 5.312 kB / 0.5191 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3907, allocations: 21.75 kB / 0.5191 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3908, allocations: 6.922 kB / 0.5191 GB, free: 28.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.391, allocations: 205.8 kB / 0.5193 GB, free: 28.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.391, allocations: 0 / 0.5193 GB, free: 28.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004173/0.3914, allocations: 69.19 kB / 0.5194 GB, free: 28.51 MB / 378.7 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.0001212/0.3915, allocations: 108.8 kB / 0.5195 GB, free: 28.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.392, allocations: 292.1 kB / 0.5198 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.392, allocations: 0 / 0.5198 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3923, allocations: 208.2 kB / 0.52 GB, free: 28.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3928, allocations: 60.61 kB / 0.52 GB, free: 28.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3939, allocations: 0.9016 MB / 0.5209 GB, free: 27.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3942, allocations: 0.8151 MB / 0.5217 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.3943, allocations: 44.83 kB / 0.5217 GB, free: 26.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.3944, allocations: 28.77 kB / 0.5218 GB, free: 26.77 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3944, allocations: 2.438 kB / 0.5218 GB, free: 26.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006195/0.4006, allocations: 2.791 MB / 0.5245 GB, free: 26.55 MB / 378.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)