Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 183.7 kB / 16.71 MB, free: 4.973 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.356/1.356, 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.0007807/0.0007807, allocations: 102.3 kB / 294.4 MB, free: 9.5 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.3428/0.3428, allocations: 38.13 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005486, allocations: 8 kB / 453.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4266, allocations: 59.14 MB / 0.5006 GB, free: 39.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.008965/0.4357, allocations: 4.689 MB / 0.5052 GB, free: 38.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.4396, allocations: 2.593 MB / 0.5077 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.4404, allocations: 27.47 kB / 0.5077 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.4408, allocations: 62.47 kB / 0.5078 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.4419, allocations: 245.7 kB / 0.508 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.4429, allocations: 230.9 kB / 0.5082 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.4443, allocations: 0.9247 MB / 0.5092 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.4453, allocations: 0.6203 MB / 0.5098 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00063/0.446, allocations: 224.6 kB / 0.51 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006812/0.4467, allocations: 323.4 kB / 0.5103 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.4468, allocations: 16.81 kB / 0.5103 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.4472, allocations: 136.1 kB / 0.5104 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.4475, allocations: 193.2 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.4479, allocations: 258 kB / 0.5109 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.4486, allocations: 0.5688 MB / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4487, allocations: 0 / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4487, allocations: 0.75 kB / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.4487, allocations: 2.875 kB / 0.5114 GB, free: 34.75 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001398/0.4501, allocations: 0.6803 MB / 0.5121 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4502, allocations: 12.03 kB / 0.5121 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.4508, allocations: 94.45 kB / 0.5122 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4514, allocations: 401.5 kB / 0.5126 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4515, allocations: 26.8 kB / 0.5126 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.4516, allocations: 55.11 kB / 0.5126 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.4526, allocations: 0.6591 MB / 0.5133 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.4526, allocations: 2.781 kB / 0.5133 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.4527, allocations: 19.64 kB / 0.5133 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.4528, allocations: 47.52 kB / 0.5134 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.4536, allocations: 495.5 kB / 0.5138 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.4565, allocations: 3.169 MB / 0.5169 GB, free: 30.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.457, allocations: 236.3 kB / 0.5171 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4572, allocations: 122.9 kB / 0.5173 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.4572, allocations: 10.33 kB / 0.5173 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4573, allocations: 37.56 kB / 0.5173 GB, free: 30.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.4573, allocations: 0 / 0.5173 GB, free: 30.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001654/0.4589, allocations: 0.8884 MB / 0.5182 GB, free: 30.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.459, allocations: 84.61 kB / 0.5183 GB, free: 29.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.4594, allocations: 323.7 kB / 0.5186 GB, free: 29.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4595, allocations: 29.7 kB / 0.5186 GB, free: 29.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4596, allocations: 289.6 kB / 0.5189 GB, free: 29.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.4597, allocations: 91.02 kB / 0.519 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.4597, allocations: 11.03 kB / 0.519 GB, free: 29.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4599, allocations: 346.3 kB / 0.5193 GB, free: 29.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.4601, allocations: 131.4 kB / 0.5194 GB, free: 29.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.4604, allocations: 325.5 kB / 0.5197 GB, free: 28.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.461, allocations: 0.4946 MB / 0.5202 GB, free: 28.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.461, allocations: 2.688 kB / 0.5202 GB, free: 28.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009989/0.462, allocations: 0.5836 MB / 0.5208 GB, free: 28.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.462, allocations: 9 kB / 0.5208 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005735/0.4626, allocations: 333.9 kB / 0.5211 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.463, allocations: 111.2 kB / 0.5212 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.4633, allocations: 90.77 kB / 0.5213 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.4653, allocations: 3.021 MB / 0.5243 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.4656, allocations: 17.09 kB / 0.5243 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.4656, allocations: 28.36 kB / 0.5243 GB, free: 25.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.4659, allocations: 218.1 kB / 0.5245 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.4659, allocations: 36.5 kB / 0.5245 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.4664, allocations: 314.1 kB / 0.5248 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4664, allocations: 2.875 kB / 0.5248 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4664, allocations: 4 kB / 0.5248 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4664, allocations: 3.422 kB / 0.5249 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000971/0.4674, allocations: 0.8117 MB / 0.5256 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4674, allocations: 2.844 kB / 0.5256 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.4677, allocations: 54.17 kB / 0.5257 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4677, allocations: 2.719 kB / 0.5257 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.4677, allocations: 10.3 kB / 0.5257 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4677, allocations: 6.938 kB / 0.5257 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4678, allocations: 0 / 0.5257 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.4683, allocations: 0.512 MB / 0.5262 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4684, allocations: 124.5 kB / 0.5263 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.4685, allocations: 6.844 kB / 0.5263 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.4686, allocations: 10.53 kB / 0.5264 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.4687, allocations: 22.58 kB / 0.5264 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.4687, allocations: 8.562 kB / 0.5264 GB, free: 23.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.4689, allocations: 221.3 kB / 0.5266 GB, free: 23.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4689, allocations: 4 kB / 0.5266 GB, free: 23.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004763/0.4694, allocations: 94.69 kB / 0.5267 GB, free: 23.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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 0.0001084/0.4695, allocations: 106.7 kB / 0.5268 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.4703, allocations: 0.5732 MB / 0.5274 GB, free: 23.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4703, allocations: 0 / 0.5274 GB, free: 23.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.4705, allocations: 132.8 kB / 0.5275 GB, free: 23.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.471, allocations: 58.56 kB / 0.5275 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4726, allocations: 1.256 MB / 0.5288 GB, free: 22.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4729, allocations: 0.8811 MB / 0.5296 GB, free: 21.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.4732, allocations: 110.1 kB / 0.5297 GB, free: 21.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.4733, allocations: 30.34 kB / 0.5298 GB, free: 21.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4733, allocations: 0 / 0.5298 GB, free: 21.75 MB / 378.7 MB Notification: Performance of Templates: time 0.007572/0.4809, allocations: 3.629 MB / 0.5333 GB, free: 21.47 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)