Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 180 kB / 16.71 MB, free: 5.074 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.331/1.331, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.000813/0.0008131, allocations: 94.16 kB / 294.4 MB, free: 9.695 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.3281/0.3281, allocations: 38.13 MB / 383.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003617, allocations: 8 kB / 453.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 59.13 MB / 0.5006 GB, free: 39.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006201/0.402, allocations: 4.827 MB / 0.5053 GB, free: 38.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.4047, allocations: 2.149 MB / 0.5074 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.405, allocations: 28.38 kB / 0.5074 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.4054, allocations: 82.94 kB / 0.5075 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.406, allocations: 216.1 kB / 0.5077 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.4065, allocations: 162.4 kB / 0.5079 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.4077, allocations: 0.7951 MB / 0.5087 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.4088, allocations: 0.817 MB / 0.5095 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.4092, allocations: 207.8 kB / 0.5096 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.4097, allocations: 260.5 kB / 0.5099 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.4097, allocations: 17.56 kB / 0.5099 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.4101, allocations: 126.1 kB / 0.51 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.4103, allocations: 172.3 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.4106, allocations: 227.3 kB / 0.5104 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.4113, allocations: 0.5014 MB / 0.5109 GB, free: 34.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4113, allocations: 3.234 kB / 0.5109 GB, free: 34.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4114, allocations: 0 / 0.5109 GB, free: 34.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.4114, allocations: 1.094 kB / 0.5109 GB, free: 34.99 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001033/0.4124, allocations: 0.64 MB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4125, allocations: 9.156 kB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.4131, allocations: 94.48 kB / 0.5116 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.4137, allocations: 398.5 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.4137, allocations: 27.11 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4138, allocations: 48.62 kB / 0.5121 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.4145, allocations: 481.4 kB / 0.5125 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4145, allocations: 2.75 kB / 0.5125 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.4145, allocations: 10.44 kB / 0.5126 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.37e-05/0.4146, allocations: 29.7 kB / 0.5126 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.4151, allocations: 346.2 kB / 0.5129 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.4169, allocations: 1.631 MB / 0.5145 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.4172, allocations: 175.2 kB / 0.5147 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4174, allocations: 111.8 kB / 0.5148 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4174, allocations: 320 / 0.5148 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.4174, allocations: 41.34 kB / 0.5148 GB, free: 32.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.4175, allocations: 0 / 0.5148 GB, free: 32.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001157/0.4186, allocations: 0.7836 MB / 0.5156 GB, free: 31.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.4187, allocations: 83.12 kB / 0.5157 GB, free: 31.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4189, allocations: 305.2 kB / 0.516 GB, free: 31.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4189, allocations: 29.7 kB / 0.516 GB, free: 31.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4191, allocations: 258.5 kB / 0.5162 GB, free: 31.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.4191, allocations: 69.03 kB / 0.5163 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.4191, allocations: 4 kB / 0.5163 GB, free: 31.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.4192, allocations: 349.5 kB / 0.5166 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4194, allocations: 94.2 kB / 0.5167 GB, free: 31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4195, allocations: 205 kB / 0.5169 GB, free: 30.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.4199, allocations: 319 kB / 0.5172 GB, free: 30.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4199, allocations: 0 / 0.5172 GB, free: 30.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006882/0.4206, allocations: 428.2 kB / 0.5176 GB, free: 30.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4206, allocations: 5.969 kB / 0.5176 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004898/0.4211, allocations: 270.6 kB / 0.5179 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.4215, allocations: 80.31 kB / 0.518 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4217, allocations: 66.8 kB / 0.518 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.423, allocations: 1.583 MB / 0.5196 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4232, allocations: 9.531 kB / 0.5196 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.4232, allocations: 15.19 kB / 0.5196 GB, free: 28.88 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.4234, allocations: 198.4 kB / 0.5198 GB, free: 28.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.4234, allocations: 30.41 kB / 0.5198 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4238, allocations: 273 kB / 0.5201 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4238, allocations: 2.969 kB / 0.5201 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4239, allocations: 0 / 0.5201 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4239, allocations: 4.688 kB / 0.5201 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/0.4248, allocations: 0.7473 MB / 0.5208 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4249, allocations: 2.875 kB / 0.5208 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.4251, allocations: 55.86 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4251, allocations: 3 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4251, allocations: 2.875 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4251, allocations: 2.938 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4252, allocations: 3.938 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.4256, allocations: 458.4 kB / 0.5213 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.4257, allocations: 104.8 kB / 0.5214 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.4257, allocations: 13.92 kB / 0.5214 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4259, allocations: 9.406 kB / 0.5215 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.4259, allocations: 19.92 kB / 0.5215 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4259, allocations: 9.062 kB / 0.5215 GB, free: 27.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.4261, allocations: 213.5 kB / 0.5217 GB, free: 27.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4261, allocations: 3.031 kB / 0.5217 GB, free: 27.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.4265, allocations: 82.03 kB / 0.5218 GB, free: 27.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.4266, allocations: 114.4 kB / 0.5219 GB, free: 27.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.4271, allocations: 370.4 kB / 0.5222 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4271, allocations: 0 / 0.5222 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4273, allocations: 106.9 kB / 0.5223 GB, free: 27.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.4278, allocations: 64.27 kB / 0.5224 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4291, allocations: 1.138 MB / 0.5235 GB, free: 26.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4294, allocations: 0.8503 MB / 0.5243 GB, free: 25.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.4296, allocations: 72.72 kB / 0.5244 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.4297, allocations: 34.91 kB / 0.5244 GB, free: 25.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4297, allocations: 0 / 0.5244 GB, free: 25.71 MB / 378.7 MB Notification: Performance of Templates: time 0.006226/0.4359, allocations: 3.299 MB / 0.5277 GB, free: 25.46 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)