Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 169.3 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 99.53 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5107/0.5107, allocations: 78.63 MB / 421 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 8 kB / 0.4894 GB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 69.35 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002759/0.307, allocations: 3.226 MB / 0.5603 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3089, allocations: 1.064 MB / 0.5613 GB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.3093, allocations: 4 kB / 0.5613 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.3097, allocations: 71.52 kB / 0.5614 GB, free: 14.39 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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.000559/0.3103, allocations: 150.9 kB / 0.5615 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.311, allocations: 323.2 kB / 0.5618 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.3115, allocations: 0.5641 MB / 0.5624 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3118, allocations: 137 kB / 0.5625 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.3121, allocations: 215 kB / 0.5627 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3123, allocations: 238.7 kB / 0.563 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.3124, allocations: 24 kB / 0.563 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3126, allocations: 83.97 kB / 0.5631 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.3126, allocations: 87.55 kB / 0.5631 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.3128, allocations: 260.2 kB / 0.5634 GB, free: 12.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.3131, allocations: 0.5007 MB / 0.5639 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3131, allocations: 7.984 kB / 0.5639 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3131, allocations: 0 / 0.5639 GB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3131, allocations: 0 / 0.5639 GB, free: 11.82 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001081/0.3142, allocations: 0.7516 MB / 0.5646 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3143, allocations: 8.031 kB / 0.5646 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008599/0.3151, allocations: 172.1 kB / 0.5648 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.3155, allocations: 402 kB / 0.5652 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.3156, allocations: 66.66 kB / 0.5652 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.3157, allocations: 31.94 kB / 0.5653 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.3163, allocations: 397.9 kB / 0.5657 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3164, allocations: 3.938 kB / 0.5657 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.3164, allocations: 8 kB / 0.5657 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3164, allocations: 8 kB / 0.5657 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.317, allocations: 354.4 kB / 0.566 GB, free: 9.555 MB / 378.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.002137/0.3192, allocations: 1.875 MB / 0.5678 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.32, allocations: 0.8484 MB / 0.5687 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.3204, allocations: 204.4 kB / 0.5689 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.3204, allocations: 8 kB / 0.5689 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.3204, allocations: 34.56 kB / 0.5689 GB, free: 6.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3205, allocations: 3.938 kB / 0.5689 GB, free: 6.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.004112/0.3246, allocations: 1.408 MB / 0.5703 GB, free: 4.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.3246, allocations: 59.41 kB / 0.5703 GB, free: 4.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.325, allocations: 429.9 kB / 0.5708 GB, free: 4.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.325, allocations: 29.7 kB / 0.5708 GB, free: 4.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3251, allocations: 259.9 kB / 0.571 GB, free: 4.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.3252, allocations: 86.75 kB / 0.5711 GB, free: 4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3252, allocations: 33.7 kB / 0.5711 GB, free: 3.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.3253, allocations: 354.7 kB / 0.5715 GB, free: 3.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.3257, allocations: 200.2 kB / 0.5717 GB, free: 3.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.326, allocations: 245.1 kB / 0.5719 GB, free: 3.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.3303, allocations: 1.423 MB / 0.5733 GB, free: 1.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3303, allocations: 0 / 0.5733 GB, free: 1.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002082/0.3324, allocations: 0.9499 MB / 0.5742 GB, free: 0.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3324, allocations: 4 kB / 0.5742 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3324, allocations: 7.938 kB / 0.5742 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.3344, allocations: 0.6486 MB / 0.5749 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.3352, allocations: 179.8 kB / 0.575 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006586/0.3418, allocations: 3.157 MB / 0.5781 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.3422, allocations: 59.72 kB / 0.5782 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3422, allocations: 12 kB / 0.5782 GB, free: 12.55 MB / 394.7 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.0002255/0.3424, allocations: 166.1 kB / 0.5784 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3425, allocations: 43.44 kB / 0.5784 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3449, allocations: 0.8685 MB / 0.5792 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3449, allocations: 11.88 kB / 0.5793 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.3449, allocations: 0 / 0.5793 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.345, allocations: 3.984 kB / 0.5793 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.3481, allocations: 1.585 MB / 0.5808 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3481, allocations: 0 / 0.5808 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.3489, allocations: 155.9 kB / 0.581 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.3516, allocations: 0.7383 MB / 0.5817 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.3516, allocations: 11.92 kB / 0.5817 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/0.3578, allocations: 3.123 MB / 0.5847 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3579, allocations: 0 / 0.5847 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.3607, allocations: 1.176 MB / 0.5859 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3609, allocations: 124.5 kB / 0.586 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.3609, allocations: 8 kB / 0.586 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.3612, allocations: 36.03 kB / 0.586 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3614, allocations: 55.84 kB / 0.5861 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3615, allocations: 15.98 kB / 0.5861 GB, free: 4.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003258/0.3618, allocations: 299.1 kB / 0.5864 GB, free: 3.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3618, allocations: 3.938 kB / 0.5864 GB, free: 3.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.3623, allocations: 127.8 kB / 0.5865 GB, free: 3.754 MB / 394.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.0001316/0.3624, allocations: 95.58 kB / 0.5866 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.365, allocations: 0.8221 MB / 0.5874 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.365, allocations: 3.938 kB / 0.5874 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.3671, allocations: 0.6142 MB / 0.588 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3674, allocations: 38.23 kB / 0.5881 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3707, allocations: 1.247 MB / 0.5893 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3711, allocations: 0.8269 MB / 0.5901 GB, free: 24 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3712, allocations: 31.48 kB / 0.5901 GB, free: 15.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3712, allocations: 0 / 0.5901 GB, free: 15.99 MB / 410.7 MB Notification: Performance of Templates: time 0.008961/0.3802, allocations: 7.14 MB / 0.5971 GB, free: 8.852 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)