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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.222/1.222, allocations: 223.3 MB / 239.3 MB, free: 5.383 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.0009593/0.0009594, allocations: 180.5 kB / 290.6 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4173/0.4173, allocations: 78.56 MB / 420.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 8.375 kB / 0.4887 GB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 69.37 MB / 0.5565 GB, free: 496 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.1994/0.316, allocations: 3.226 MB / 0.5596 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3177, allocations: 1.058 MB / 0.5607 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.318, allocations: 5.281 kB / 0.5607 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.3182, allocations: 76.88 kB / 0.5608 GB, free: 37.11 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.0003494/0.3186, allocations: 141.6 kB / 0.5609 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.3192, allocations: 328.2 kB / 0.5612 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.3196, allocations: 0.5686 MB / 0.5618 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.3197, allocations: 122.1 kB / 0.5619 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3199, allocations: 215 kB / 0.5621 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3201, allocations: 240.8 kB / 0.5623 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.3202, allocations: 26.12 kB / 0.5623 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3203, allocations: 70.77 kB / 0.5624 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3204, allocations: 91.28 kB / 0.5625 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3206, allocations: 259.4 kB / 0.5627 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.321, allocations: 0.6325 MB / 0.5634 GB, free: 36.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3211, allocations: 0 / 0.5634 GB, free: 36.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3211, allocations: 0 / 0.5634 GB, free: 36.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3211, allocations: 1.469 kB / 0.5634 GB, free: 36.36 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.00106/0.3221, allocations: 0.7654 MB / 0.5641 GB, free: 35.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3222, allocations: 7.906 kB / 0.5641 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.3222, allocations: 64.42 kB / 0.5642 GB, free: 35.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.3231, allocations: 177 kB / 0.5643 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.3235, allocations: 396.8 kB / 0.5647 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.3236, allocations: 63.42 kB / 0.5648 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.3237, allocations: 29.78 kB / 0.5648 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.3244, allocations: 407.5 kB / 0.5652 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3244, allocations: 2.781 kB / 0.5652 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3245, allocations: 11.06 kB / 0.5652 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3245, allocations: 8.438 kB / 0.5652 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.3251, allocations: 345.6 kB / 0.5655 GB, free: 35.41 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.00214/0.3273, allocations: 1.872 MB / 0.5674 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.3281, allocations: 0.8422 MB / 0.5682 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.3285, allocations: 204.5 kB / 0.5684 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3285, allocations: 5.031 kB / 0.5684 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3286, allocations: 32.5 kB / 0.5684 GB, free: 33.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.3286, allocations: 0 / 0.5684 GB, free: 33.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004415/0.333, allocations: 1.413 MB / 0.5698 GB, free: 33.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.333, allocations: 54.31 kB / 0.5699 GB, free: 33.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3334, allocations: 433.2 kB / 0.5703 GB, free: 33.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3334, allocations: 30.86 kB / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3335, allocations: 256.8 kB / 0.5705 GB, free: 33.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3336, allocations: 90.05 kB / 0.5706 GB, free: 33.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.3336, allocations: 31.36 kB / 0.5707 GB, free: 33.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.3337, allocations: 359.3 kB / 0.571 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3341, allocations: 204.5 kB / 0.5712 GB, free: 33.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.3345, allocations: 247.2 kB / 0.5714 GB, free: 32.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.3389, allocations: 1.429 MB / 0.5728 GB, free: 32.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3389, allocations: 0 / 0.5728 GB, free: 32.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0022/0.3411, allocations: 0.9543 MB / 0.5738 GB, free: 32.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3412, allocations: 9.406 kB / 0.5738 GB, free: 32.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3412, allocations: 0.7812 kB / 0.5738 GB, free: 32.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.3433, allocations: 0.6508 MB / 0.5744 GB, free: 32.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.3441, allocations: 175.9 kB / 0.5746 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.3502, allocations: 3.159 MB / 0.5777 GB, free: 31.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.3506, allocations: 49.91 kB / 0.5777 GB, free: 31.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.3506, allocations: 14.38 kB / 0.5777 GB, free: 31.37 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.0001956/0.3508, allocations: 166.7 kB / 0.5779 GB, free: 31.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.3509, allocations: 49.06 kB / 0.5779 GB, free: 31.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.3532, allocations: 0.8706 MB / 0.5788 GB, free: 31.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3532, allocations: 10.38 kB / 0.5788 GB, free: 31.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3533, allocations: 6.156 kB / 0.5788 GB, free: 31.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3533, allocations: 3.422 kB / 0.5788 GB, free: 31.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.3561, allocations: 1.57 MB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3561, allocations: 0.5625 kB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000897/0.357, allocations: 163.3 kB / 0.5805 GB, free: 30.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.3595, allocations: 0.7257 MB / 0.5812 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3595, allocations: 19.39 kB / 0.5812 GB, free: 30.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.3656, allocations: 3.128 MB / 0.5843 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3656, allocations: 0 / 0.5843 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.3685, allocations: 1.166 MB / 0.5854 GB, free: 28.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.3686, allocations: 126.9 kB / 0.5855 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.3686, allocations: 15.72 kB / 0.5855 GB, free: 28.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.369, allocations: 35.22 kB / 0.5856 GB, free: 28.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3691, allocations: 57.33 kB / 0.5856 GB, free: 28.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3692, allocations: 8.312 kB / 0.5856 GB, free: 28.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.3694, allocations: 298.6 kB / 0.5859 GB, free: 28.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 0.5859 GB, free: 28.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005072/0.37, allocations: 134.1 kB / 0.5861 GB, free: 28.34 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.002581/0.3725, allocations: 1.608 MB / 0.5876 GB, free: 27.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3751, allocations: 0.8116 MB / 0.5884 GB, free: 27.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3751, allocations: 0 / 0.5884 GB, free: 27.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.3773, allocations: 0.6133 MB / 0.589 GB, free: 26.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3777, allocations: 38.78 kB / 0.5891 GB, free: 26.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/0.3872, allocations: 5.246 MB / 0.5942 GB, free: 24.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.3874, allocations: 0.82 MB / 0.595 GB, free: 23.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3876, allocations: 36.58 kB / 0.595 GB, free: 23.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3877, allocations: 146.5 kB / 0.5951 GB, free: 23.19 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3877, allocations: 4 kB / 0.5952 GB, free: 23.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.4115, allocations: 10.89 MB / 0.6058 GB, free: 22.32 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4116, allocations: 230.4 kB / 0.606 GB, free: 22.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.148, allocations: 3.5 kB / 0.606 GB, free: 22.07 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)