Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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(OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001008, allocations: 180.9 kB / 15.43 MB, free: 6.211 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.485/1.485, allocations: 225.7 MB / 241.9 MB, free: 368 kB / 186.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.0008164/0.0008165, allocations: 91.98 kB / 293.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 43.17 MB / 387.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003202, allocations: 8 kB / 458.6 MB, free: 55.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 60.51 MB / 0.5069 GB, free: 10.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003377/0.1158, allocations: 3.064 MB / 0.5099 GB, free: 7.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.1181, allocations: 1.398 MB / 0.5113 GB, free: 6.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1183, allocations: 8 kB / 0.5113 GB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1186, allocations: 75.52 kB / 0.5114 GB, free: 6.18 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.1189, allocations: 150.9 kB / 0.5115 GB, free: 6.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.1197, allocations: 0.5415 MB / 0.512 GB, free: 5.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.1202, allocations: 0.568 MB / 0.5126 GB, free: 4.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1204, allocations: 129 kB / 0.5127 GB, free: 4.734 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.1207, allocations: 219 kB / 0.5129 GB, free: 4.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1209, allocations: 238.7 kB / 0.5131 GB, free: 4.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.121, allocations: 24 kB / 0.5132 GB, free: 4.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1212, allocations: 71.97 kB / 0.5132 GB, free: 4.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.1213, allocations: 87.55 kB / 0.5133 GB, free: 4.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.1215, allocations: 264.2 kB / 0.5136 GB, free: 3.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.1221, allocations: 0.6346 MB / 0.5142 GB, free: 3.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1221, allocations: 0 / 0.5142 GB, free: 3.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1221, allocations: 4 kB / 0.5142 GB, free: 3.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1221, allocations: 0 / 0.5142 GB, free: 3.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001364/0.1235, allocations: 0.7516 MB / 0.5149 GB, free: 2.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1235, allocations: 8.031 kB / 0.5149 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.1245, allocations: 176.1 kB / 0.5151 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.125, allocations: 394 kB / 0.5155 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.1252, allocations: 66.66 kB / 0.5155 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.1252, allocations: 31.91 kB / 0.5156 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.1261, allocations: 393.9 kB / 0.5159 GB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1261, allocations: 3.984 kB / 0.5159 GB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.1262, allocations: 15.98 kB / 0.516 GB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1262, allocations: 8 kB / 0.516 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.1269, allocations: 346.5 kB / 0.5163 GB, free: 0.9336 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.1297, allocations: 1.883 MB / 0.5181 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.1308, allocations: 0.8369 MB / 0.519 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.1313, allocations: 204.8 kB / 0.5192 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.1313, allocations: 4 kB / 0.5192 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1313, allocations: 42.5 kB / 0.5192 GB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.1314, allocations: 0 / 0.5192 GB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.004642/0.136, allocations: 1.417 MB / 0.5206 GB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.1361, allocations: 59.41 kB / 0.5206 GB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.1366, allocations: 429.9 kB / 0.521 GB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1366, allocations: 29.7 kB / 0.5211 GB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1368, allocations: 255.9 kB / 0.5213 GB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.1369, allocations: 86.75 kB / 0.5214 GB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1369, allocations: 8 kB / 0.5214 GB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1371, allocations: 358.7 kB / 0.5218 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.1375, allocations: 196.2 kB / 0.5219 GB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.1379, allocations: 249 kB / 0.5222 GB, free: 10.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.1428, allocations: 1.42 MB / 0.5236 GB, free: 9.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1428, allocations: 3.938 kB / 0.5236 GB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002474/0.1453, allocations: 0.9538 MB / 0.5245 GB, free: 8.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1453, allocations: 4 kB / 0.5245 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1453, allocations: 7.938 kB / 0.5245 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.1475, allocations: 0.6408 MB / 0.5251 GB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.1484, allocations: 179.8 kB / 0.5253 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/0.1552, allocations: 3.165 MB / 0.5284 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.1556, allocations: 55.66 kB / 0.5285 GB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.1557, allocations: 12 kB / 0.5285 GB, free: 3.953 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.156, allocations: 172.2 kB / 0.5286 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.156, allocations: 47.44 kB / 0.5287 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.1585, allocations: 0.8641 MB / 0.5295 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1586, allocations: 7.938 kB / 0.5295 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1586, allocations: 3.984 kB / 0.5295 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1586, allocations: 0 / 0.5295 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.162, allocations: 1.582 MB / 0.5311 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.162, allocations: 0 / 0.5311 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.1629, allocations: 155.9 kB / 0.5312 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/0.1656, allocations: 0.7226 MB / 0.5319 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.1656, allocations: 19.86 kB / 0.5319 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2664/0.4321, allocations: 3.124 MB / 0.535 GB, free: 32.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4321, allocations: 0.75 kB / 0.535 GB, free: 32.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.4356, allocations: 1.16 MB / 0.5361 GB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.4358, allocations: 129 kB / 0.5363 GB, free: 31.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.4359, allocations: 6.75 kB / 0.5363 GB, free: 31.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.4362, allocations: 30.66 kB / 0.5363 GB, free: 31.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.4364, allocations: 54.33 kB / 0.5363 GB, free: 31.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.4365, allocations: 13.86 kB / 0.5364 GB, free: 31.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003853/0.4369, allocations: 297 kB / 0.5366 GB, free: 31.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4369, allocations: 0 / 0.5366 GB, free: 31.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006697/0.4376, allocations: 131.4 kB / 0.5368 GB, free: 31.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.4377, allocations: 114.4 kB / 0.5369 GB, free: 31.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.4406, allocations: 0.8067 MB / 0.5377 GB, free: 31.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4406, allocations: 3.172 kB / 0.5377 GB, free: 31.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.4429, allocations: 0.616 MB / 0.5383 GB, free: 31.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4433, allocations: 32.03 kB / 0.5383 GB, free: 31.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.4468, allocations: 1.231 MB / 0.5395 GB, free: 30.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4472, allocations: 0.8168 MB / 0.5403 GB, free: 29.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.4473, allocations: 35.98 kB / 0.5403 GB, free: 29.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.4474, allocations: 31.2 kB / 0.5404 GB, free: 29.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4474, allocations: 0.9688 kB / 0.5404 GB, free: 29.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01502/0.4624, allocations: 6.8 MB / 0.547 GB, free: 28.16 MB / 362.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)