Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1048/0.1048, allocations: 12.2 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009259, allocations: 95.52 kB / 31 MB, free: 4.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 239.8 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.8 kB / 291 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4562/0.4562, allocations: 78.54 MB / 420.5 MB, free: 48.88 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009476/0.0009475, allocations: 33.12 kB / 0.4901 GB, free: 2.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3417, allocations: 69.22 MB / 0.5577 GB, free: 42.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003444/0.3452, allocations: 3.266 MB / 0.5609 GB, free: 42.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.347, allocations: 1.032 MB / 0.5619 GB, free: 41.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3472, allocations: 4.969 kB / 0.5619 GB, free: 41.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3474, allocations: 78.73 kB / 0.562 GB, free: 41.62 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0003662/0.3478, allocations: 140.1 kB / 0.5621 GB, free: 41.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.3484, allocations: 316.3 kB / 0.5624 GB, free: 41.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.3491, allocations: 0.5699 MB / 0.563 GB, free: 41.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.3493, allocations: 127.6 kB / 0.5631 GB, free: 41.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.3496, allocations: 218.9 kB / 0.5633 GB, free: 41.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.3499, allocations: 240 kB / 0.5635 GB, free: 41.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.3499, allocations: 25.53 kB / 0.5635 GB, free: 41.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3501, allocations: 77.64 kB / 0.5636 GB, free: 41.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.3502, allocations: 88.16 kB / 0.5637 GB, free: 40.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3504, allocations: 261.4 kB / 0.564 GB, free: 40.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.3511, allocations: 0.6228 MB / 0.5646 GB, free: 40.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3511, allocations: 0 / 0.5646 GB, free: 40.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3511, allocations: 0 / 0.5646 GB, free: 40.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3511, allocations: 0.9062 kB / 0.5646 GB, free: 40.6 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.001225/0.3524, allocations: 0.765 MB / 0.5653 GB, free: 40.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3524, allocations: 13.64 kB / 0.5653 GB, free: 40.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009564/0.3534, allocations: 172.7 kB / 0.5655 GB, free: 39.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.3538, allocations: 399.2 kB / 0.5659 GB, free: 39.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.3539, allocations: 70.44 kB / 0.5659 GB, free: 39.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.354, allocations: 26.44 kB / 0.566 GB, free: 39.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.3548, allocations: 409.9 kB / 0.5664 GB, free: 39.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3549, allocations: 1.125 kB / 0.5664 GB, free: 39.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.3549, allocations: 10.22 kB / 0.5664 GB, free: 39.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3549, allocations: 7.531 kB / 0.5664 GB, free: 39.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.3556, allocations: 343.9 kB / 0.5667 GB, free: 39.31 MB / 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.002442/0.3581, allocations: 1.878 MB / 0.5685 GB, free: 38.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.3591, allocations: 0.8454 MB / 0.5694 GB, free: 37.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3595, allocations: 207.6 kB / 0.5696 GB, free: 37.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3596, allocations: 2.625 kB / 0.5696 GB, free: 37.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3596, allocations: 32.22 kB / 0.5696 GB, free: 37.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.3596, allocations: 0.9062 kB / 0.5696 GB, free: 37.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004787/0.3644, allocations: 1.41 MB / 0.571 GB, free: 36.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.3644, allocations: 54.25 kB / 0.571 GB, free: 36.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.3649, allocations: 432.6 kB / 0.5714 GB, free: 36.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.365, allocations: 30.83 kB / 0.5715 GB, free: 36.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3651, allocations: 254 kB / 0.5717 GB, free: 36.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.3652, allocations: 91.48 kB / 0.5718 GB, free: 36.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3653, allocations: 33.75 kB / 0.5718 GB, free: 36.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.3654, allocations: 365 kB / 0.5722 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.3658, allocations: 203.2 kB / 0.5724 GB, free: 35.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.3662, allocations: 248.2 kB / 0.5726 GB, free: 35.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.3708, allocations: 1.434 MB / 0.574 GB, free: 35.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3708, allocations: 2.938 kB / 0.574 GB, free: 35.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002391/0.3732, allocations: 0.9364 MB / 0.5749 GB, free: 34.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3733, allocations: 6.031 kB / 0.5749 GB, free: 34.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3733, allocations: 6.5 kB / 0.5749 GB, free: 34.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.3755, allocations: 0.6515 MB / 0.5756 GB, free: 34.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/0.3763, allocations: 177.3 kB / 0.5757 GB, free: 34.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00633/0.3827, allocations: 3.157 MB / 0.5788 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.3831, allocations: 52.5 kB / 0.5789 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3832, allocations: 15.3 kB / 0.5789 GB, free: 32.82 MB / 430.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.0002359/0.3834, allocations: 182.7 kB / 0.5791 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.3835, allocations: 40.38 kB / 0.5791 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.3859, allocations: 0.8626 MB / 0.5799 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3859, allocations: 6.906 kB / 0.5799 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3859, allocations: 11.34 kB / 0.58 GB, free: 32.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3859, allocations: 0 / 0.58 GB, free: 32.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.389, allocations: 1.601 MB / 0.5815 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.389, allocations: 0 / 0.5815 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.3899, allocations: 166.8 kB / 0.5817 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.3925, allocations: 0.7193 MB / 0.5824 GB, free: 31.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.3926, allocations: 13.77 kB / 0.5824 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006079/0.3987, allocations: 3.141 MB / 0.5855 GB, free: 29.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3987, allocations: 2.906 kB / 0.5855 GB, free: 29.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.4015, allocations: 1.161 MB / 0.5866 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4016, allocations: 126.5 kB / 0.5867 GB, free: 28.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.4017, allocations: 7.969 kB / 0.5867 GB, free: 28.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.402, allocations: 26.84 kB / 0.5868 GB, free: 28.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4022, allocations: 64.36 kB / 0.5868 GB, free: 28.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4022, allocations: 8.578 kB / 0.5868 GB, free: 28.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.4025, allocations: 301.5 kB / 0.5871 GB, free: 28.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4025, allocations: 0 / 0.5871 GB, free: 28.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005212/0.403, allocations: 130 kB / 0.5872 GB, free: 28.7 MB / 430.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.0001348/0.4031, allocations: 115.5 kB / 0.5873 GB, free: 28.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.4057, allocations: 0.8188 MB / 0.5881 GB, free: 28.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4057, allocations: 0 / 0.5881 GB, free: 28.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.4078, allocations: 0.6214 MB / 0.5888 GB, free: 28.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4082, allocations: 30.34 kB / 0.5888 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.4115, allocations: 1.222 MB / 0.59 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4117, allocations: 0.8181 MB / 0.5908 GB, free: 26.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.4119, allocations: 37 kB / 0.5908 GB, free: 26.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.4119, allocations: 24 kB / 0.5908 GB, free: 26.62 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.412, allocations: 0 / 0.5908 GB, free: 26.62 MB / 430.1 MB Notification: Performance of Templates: time 0.01322/0.4252, allocations: 6.793 MB / 0.5975 GB, free: 26.02 MB / 430.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: