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.006124/0.006124, allocations: 169.8 kB / 15.13 MB, free: 6.023 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.334/1.334, allocations: 223.3 MB / 239.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008243, allocations: 102.1 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4247/0.4247, allocations: 78.62 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 16 kB / 499.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 69.35 MB / 0.5559 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003724/0.3761, allocations: 3.056 MB / 0.5589 GB, free: 38.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3784, allocations: 1.011 MB / 0.5599 GB, free: 38.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.3787, allocations: 7.938 kB / 0.5599 GB, free: 38.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.379, allocations: 77.89 kB / 0.56 GB, free: 38.44 MB / 426.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.0004705/0.3794, allocations: 150.3 kB / 0.5601 GB, free: 38.37 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.3802, allocations: 261.7 kB / 0.5603 GB, free: 38.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.3809, allocations: 0.5472 MB / 0.5609 GB, free: 38.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.3812, allocations: 119.5 kB / 0.561 GB, free: 38.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.3816, allocations: 213.7 kB / 0.5612 GB, free: 38.09 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.3821, allocations: 235.8 kB / 0.5614 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.3822, allocations: 27.38 kB / 0.5614 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.3824, allocations: 66.11 kB / 0.5615 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3826, allocations: 84.44 kB / 0.5616 GB, free: 38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3827, allocations: 106.1 kB / 0.5617 GB, free: 37.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.3835, allocations: 0.5037 MB / 0.5622 GB, free: 37.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3835, allocations: 0 / 0.5622 GB, free: 37.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3835, allocations: 1.359 kB / 0.5622 GB, free: 37.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3835, allocations: 0 / 0.5622 GB, free: 37.83 MB / 426.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.001646/0.3852, allocations: 0.7662 MB / 0.5629 GB, free: 37.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3852, allocations: 14.14 kB / 0.5629 GB, free: 37.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.3866, allocations: 167.5 kB / 0.5631 GB, free: 37.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.3873, allocations: 378.8 kB / 0.5635 GB, free: 36.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3874, allocations: 62.88 kB / 0.5635 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.3875, allocations: 30.47 kB / 0.5636 GB, free: 36.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3888, allocations: 397.2 kB / 0.5639 GB, free: 36.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3888, allocations: 4 kB / 0.5639 GB, free: 36.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.3889, allocations: 15.34 kB / 0.564 GB, free: 36.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3889, allocations: 7.156 kB / 0.564 GB, free: 36.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.39, allocations: 344.4 kB / 0.5643 GB, free: 36.57 MB / 426.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.003461/0.3935, allocations: 1.887 MB / 0.5661 GB, free: 35.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3948, allocations: 0.8344 MB / 0.5669 GB, free: 34.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.3955, allocations: 207.4 kB / 0.5671 GB, free: 34.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.3955, allocations: 3.219 kB / 0.5671 GB, free: 34.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.3955, allocations: 31.34 kB / 0.5672 GB, free: 34.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.3956, allocations: 4.562 kB / 0.5672 GB, free: 34.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.006611/0.4022, allocations: 1.409 MB / 0.5686 GB, free: 34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.4022, allocations: 54.34 kB / 0.5686 GB, free: 33.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.4028, allocations: 436.4 kB / 0.569 GB, free: 33.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.4029, allocations: 30.8 kB / 0.5691 GB, free: 33.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.403, allocations: 255.8 kB / 0.5693 GB, free: 33.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.4031, allocations: 92.75 kB / 0.5694 GB, free: 33.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.4032, allocations: 4 kB / 0.5694 GB, free: 33.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.4033, allocations: 357.6 kB / 0.5697 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.4038, allocations: 195.7 kB / 0.5699 GB, free: 33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.4044, allocations: 256.1 kB / 0.5702 GB, free: 32.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.4051, allocations: 205.2 kB / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4051, allocations: 0 / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.003385/0.4085, allocations: 0.9427 MB / 0.5713 GB, free: 32.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4085, allocations: 13.09 kB / 0.5713 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4085, allocations: 2.812 kB / 0.5713 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/0.4117, allocations: 0.6396 MB / 0.5719 GB, free: 32.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.4129, allocations: 177 kB / 0.5721 GB, free: 32.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008801/0.4217, allocations: 3.163 MB / 0.5752 GB, free: 30.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.4223, allocations: 57.03 kB / 0.5752 GB, free: 30.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.4224, allocations: 15.58 kB / 0.5752 GB, free: 30.37 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.4227, allocations: 159 kB / 0.5754 GB, free: 30.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4228, allocations: 50.05 kB / 0.5754 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.4264, allocations: 0.8669 MB / 0.5763 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4264, allocations: 3.031 kB / 0.5763 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4264, allocations: 0 / 0.5763 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.4264, allocations: 6.094 kB / 0.5763 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.4308, allocations: 1.58 MB / 0.5778 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4308, allocations: 0 / 0.5778 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.4321, allocations: 157.9 kB / 0.578 GB, free: 29.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003807/0.436, allocations: 0.7294 MB / 0.5787 GB, free: 29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.436, allocations: 10.36 kB / 0.5787 GB, free: 29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00872/0.4448, allocations: 3.13 MB / 0.5818 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4448, allocations: 2.875 kB / 0.5818 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/0.4489, allocations: 1.174 MB / 0.5829 GB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4491, allocations: 127.2 kB / 0.583 GB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4492, allocations: 14.03 kB / 0.5831 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/0.4497, allocations: 23.92 kB / 0.5831 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.4499, allocations: 64.19 kB / 0.5831 GB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.45, allocations: 9.094 kB / 0.5832 GB, free: 26.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004245/0.4504, allocations: 294.5 kB / 0.5834 GB, free: 26.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4504, allocations: 0 / 0.5834 GB, free: 26.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000836/0.4513, allocations: 130.9 kB / 0.5836 GB, free: 26.28 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002184/0.4515, allocations: 106.3 kB / 0.5837 GB, free: 26.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.4551, allocations: 0.8165 MB / 0.5845 GB, free: 25.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4551, allocations: 0 / 0.5845 GB, free: 25.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00302/0.4581, allocations: 0.6207 MB / 0.5851 GB, free: 25.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.4587, allocations: 36.66 kB / 0.5851 GB, free: 25.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.4634, allocations: 1.171 MB / 0.5862 GB, free: 24.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4637, allocations: 0.8204 MB / 0.587 GB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.4639, allocations: 31.45 kB / 0.5871 GB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.464, allocations: 33.94 kB / 0.5871 GB, free: 24.26 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.464, allocations: 0 / 0.5871 GB, free: 24.26 MB / 426.7 MB Notification: Performance of Templates: time 0.01464/0.4787, allocations: 6.639 MB / 0.5936 GB, free: 23.64 MB / 426.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)