Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 106.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 240.1 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 192.4 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5115/0.5115, allocations: 78.53 MB / 419.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 75.88 kB / 0.5543 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4151, allocations: 68.17 MB / 0.6208 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.005793/0.4209, allocations: 3.39 MB / 0.6241 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.4237, allocations: 1.048 MB / 0.6252 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.424, allocations: 4 kB / 0.6252 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.4244, allocations: 99.12 kB / 0.6253 GB, free: 5.652 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0006063/0.4251, allocations: 170.7 kB / 0.6254 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4261, allocations: 352.6 kB / 0.6258 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.4268, allocations: 0.5992 MB / 0.6263 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.4272, allocations: 156.9 kB / 0.6265 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.4276, allocations: 255 kB / 0.6267 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.428, allocations: 266.8 kB / 0.627 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.4281, allocations: 52 kB / 0.627 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.4284, allocations: 107.9 kB / 0.6271 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4286, allocations: 123.5 kB / 0.6273 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.4288, allocations: 266.5 kB / 0.6275 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.4297, allocations: 0.6674 MB / 0.6282 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4297, allocations: 4 kB / 0.6282 GB, free: 2.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4297, allocations: 0 / 0.6282 GB, free: 2.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4297, allocations: 0 / 0.6282 GB, free: 2.656 MB / 430.1 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.002034/0.4318, allocations: 0.8299 MB / 0.629 GB, free: 1.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4318, allocations: 11.97 kB / 0.629 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.4337, allocations: 176.1 kB / 0.6292 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.4345, allocations: 401.9 kB / 0.6295 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.4347, allocations: 62.66 kB / 0.6296 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.4348, allocations: 24 kB / 0.6296 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.4361, allocations: 389.9 kB / 0.63 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4361, allocations: 3.984 kB / 0.63 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.4362, allocations: 12 kB / 0.63 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4362, allocations: 8 kB / 0.63 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.4374, allocations: 330.4 kB / 0.6303 GB, free: 352 kB / 430.1 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.004901/0.4423, allocations: 1.86 MB / 0.6322 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.4444, allocations: 0.8125 MB / 0.633 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009359/0.4453, allocations: 192.8 kB / 0.6331 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.4454, allocations: 0 / 0.6331 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.4455, allocations: 34.56 kB / 0.6332 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/0.4455, allocations: 0 / 0.6332 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.009027/0.4545, allocations: 1.246 MB / 0.6344 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4546, allocations: 51.41 kB / 0.6344 GB, free: 11.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.4555, allocations: 434 kB / 0.6348 GB, free: 11.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.4556, allocations: 33.7 kB / 0.6349 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.4559, allocations: 251.9 kB / 0.6351 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.4561, allocations: 90.73 kB / 0.6352 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.4563, allocations: 69.67 kB / 0.6353 GB, free: 10.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4565, allocations: 350.7 kB / 0.6356 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.4574, allocations: 188.2 kB / 0.6358 GB, free: 10.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.4583, allocations: 233.1 kB / 0.636 GB, free: 10.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009456/0.4678, allocations: 1.298 MB / 0.6373 GB, free: 8.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.4678, allocations: 4 kB / 0.6373 GB, free: 8.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.004944/0.4728, allocations: 0.8331 MB / 0.6381 GB, free: 8.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.4728, allocations: 4 kB / 0.6381 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4729, allocations: 7.938 kB / 0.6381 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/0.4773, allocations: 0.5548 MB / 0.6386 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4789, allocations: 147.7 kB / 0.6388 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.4921, allocations: 3.195 MB / 0.6419 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.4929, allocations: 51.7 kB / 0.642 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.493, allocations: 16.27 kB / 0.642 GB, free: 3.895 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" 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.000429/0.4934, allocations: 173.3 kB / 0.6421 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.4936, allocations: 43.52 kB / 0.6422 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.4983, allocations: 0.7779 MB / 0.6429 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4983, allocations: 4 kB / 0.6429 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4983, allocations: 0 / 0.6429 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4983, allocations: 0 / 0.6429 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.5044, allocations: 1.473 MB / 0.6444 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5044, allocations: 4 kB / 0.6444 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.5062, allocations: 119.9 kB / 0.6445 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/0.5113, allocations: 0.6365 MB / 0.6451 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.5115, allocations: 15.98 kB / 0.6451 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.5245, allocations: 3.163 MB / 0.6482 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5245, allocations: 0 / 0.6482 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.5301, allocations: 1.047 MB / 0.6492 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.5305, allocations: 124.5 kB / 0.6494 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5306, allocations: 8 kB / 0.6494 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.5313, allocations: 23.97 kB / 0.6494 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.5316, allocations: 51.92 kB / 0.6494 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.5317, allocations: 20.05 kB / 0.6495 GB, free: 11.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006316/0.5323, allocations: 303.1 kB / 0.6498 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5323, allocations: 0 / 0.6498 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009834/0.5333, allocations: 131.7 kB / 0.6499 GB, free: 11.52 MB / 462.1 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.0002524/0.5336, allocations: 103.2 kB / 0.65 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005393/0.539, allocations: 0.7639 MB / 0.6507 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.5391, allocations: 0 / 0.6507 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.5434, allocations: 0.574 MB / 0.6513 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.5442, allocations: 33.91 kB / 0.6513 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.5509, allocations: 1.04 MB / 0.6523 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.5516, allocations: 0.8155 MB / 0.6531 GB, free: 8.109 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5518, allocations: 31.42 kB / 0.6532 GB, free: 8.078 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5518, allocations: 4 kB / 0.6532 GB, free: 8.074 MB / 462.1 MB Notification: Performance of Templates: time 0.01802/0.5699, allocations: 7.255 MB / 0.6602 GB, free: 0.8164 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)