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.007255/0.007255, allocations: 101 kB / 15.73 MB, free: 6.047 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.455/1.455, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001602/0.001602, allocations: 195.7 kB / 289.7 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4884/0.4884, allocations: 78.52 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 79.88 kB / 0.5536 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3486, allocations: 68.17 MB / 0.6202 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00353/0.3521, allocations: 3.391 MB / 0.6235 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3538, allocations: 1.044 MB / 0.6245 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.3541, allocations: 11.88 kB / 0.6245 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3544, allocations: 91.25 kB / 0.6246 GB, free: 5.727 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.0003603/0.3548, allocations: 194.6 kB / 0.6248 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.3553, allocations: 354.9 kB / 0.6251 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.3557, allocations: 0.5992 MB / 0.6257 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3559, allocations: 156.9 kB / 0.6258 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3561, allocations: 258.9 kB / 0.6261 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3563, allocations: 266.8 kB / 0.6264 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.3564, allocations: 52 kB / 0.6264 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.3565, allocations: 104 kB / 0.6265 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3566, allocations: 123.5 kB / 0.6266 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3567, allocations: 266.5 kB / 0.6269 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.3572, allocations: 0.6713 MB / 0.6275 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3572, allocations: 0 / 0.6275 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3572, allocations: 0 / 0.6275 GB, free: 2.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3572, allocations: 4 kB / 0.6275 GB, free: 2.699 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.001174/0.3584, allocations: 0.8331 MB / 0.6283 GB, free: 1.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.3584, allocations: 8.031 kB / 0.6284 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.3594, allocations: 176.1 kB / 0.6285 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.3598, allocations: 397.9 kB / 0.6289 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.3599, allocations: 62.66 kB / 0.629 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.3599, allocations: 28 kB / 0.629 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.3607, allocations: 389.9 kB / 0.6294 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3607, allocations: 0 / 0.6294 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3607, allocations: 12 kB / 0.6294 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3607, allocations: 8 kB / 0.6294 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.3613, allocations: 326.5 kB / 0.6297 GB, free: 404 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.002618/0.364, allocations: 1.86 MB / 0.6315 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.365, allocations: 0.8127 MB / 0.6323 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.3655, allocations: 192.8 kB / 0.6325 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3656, allocations: 0 / 0.6325 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3656, allocations: 38.5 kB / 0.6325 GB, free: 13.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.083e-06/0.3656, allocations: 0 / 0.6325 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004775/0.3704, allocations: 1.246 MB / 0.6337 GB, free: 11.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3704, allocations: 51.41 kB / 0.6338 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.3709, allocations: 434 kB / 0.6342 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3709, allocations: 33.7 kB / 0.6342 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3711, allocations: 251.9 kB / 0.6345 GB, free: 11.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.3712, allocations: 90.73 kB / 0.6346 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3713, allocations: 65.67 kB / 0.6346 GB, free: 11.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3714, allocations: 354.7 kB / 0.635 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.3719, allocations: 188.2 kB / 0.6351 GB, free: 10.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.3723, allocations: 229.1 kB / 0.6354 GB, free: 10.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004878/0.3772, allocations: 1.294 MB / 0.6366 GB, free: 8.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3772, allocations: 3.938 kB / 0.6366 GB, free: 8.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002473/0.3797, allocations: 0.837 MB / 0.6374 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3797, allocations: 4 kB / 0.6374 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3797, allocations: 11.94 kB / 0.6375 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.382, allocations: 0.5586 MB / 0.638 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.3829, allocations: 139.8 kB / 0.6381 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/0.3902, allocations: 3.194 MB / 0.6413 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.3906, allocations: 43.72 kB / 0.6413 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.3907, allocations: 19.98 kB / 0.6413 GB, free: 3.949 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.0002442/0.3909, allocations: 176.9 kB / 0.6415 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.391, allocations: 39.53 kB / 0.6415 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.3936, allocations: 0.7755 MB / 0.6423 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3936, allocations: 4 kB / 0.6423 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.3936, allocations: 0 / 0.6423 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3936, allocations: 0 / 0.6423 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.3969, allocations: 1.484 MB / 0.6437 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3969, allocations: 0 / 0.6437 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.3978, allocations: 111.9 kB / 0.6438 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/0.4006, allocations: 0.6404 MB / 0.6445 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.4006, allocations: 11.98 kB / 0.6445 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/0.4077, allocations: 3.171 MB / 0.6476 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.4078, allocations: 288 / 0.6476 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.4108, allocations: 1.046 MB / 0.6486 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.411, allocations: 124.6 kB / 0.6487 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.4111, allocations: 11.94 kB / 0.6487 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4114, allocations: 15.98 kB / 0.6487 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4116, allocations: 59.91 kB / 0.6488 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.4116, allocations: 15.98 kB / 0.6488 GB, free: 12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003336/0.412, allocations: 303.1 kB / 0.6491 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.412, allocations: 0 / 0.6491 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.4125, allocations: 135.7 kB / 0.6492 GB, free: 11.57 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.0001478/0.4127, allocations: 99.25 kB / 0.6493 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.4155, allocations: 0.7691 MB / 0.6501 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4155, allocations: 0 / 0.6501 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.4179, allocations: 0.5687 MB / 0.6506 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4183, allocations: 36.48 kB / 0.6507 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.422, allocations: 1.016 MB / 0.6517 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.4224, allocations: 0.8155 MB / 0.6525 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.4226, allocations: 38.95 kB / 0.6525 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.4226, allocations: 23.44 kB / 0.6525 GB, free: 8.129 MB / 462.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4227, allocations: 0 / 0.6525 GB, free: 8.129 MB / 462.1 MB Notification: Performance of Templates: time 0.01335/0.436, allocations: 7.683 MB / 0.66 GB, free: 464 kB / 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)