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-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08926/0.08926, allocations: 12.6 MB / 28.1 MB, free: 0.7969 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.001146/0.001146, allocations: 103.6 kB / 31.69 MB, free: 3.953 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.482/1.482, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001606/0.001606, allocations: 202 kB / 290.6 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5225/0.5225, allocations: 78.51 MB / 419.2 MB, free: 10.83 MB / 302.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.002973/0.002973, allocations: 139.8 kB / 499.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3155, allocations: 68.11 MB / 0.5547 GB, free: 21.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003482/0.319, allocations: 3.436 MB / 0.558 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3205, allocations: 1.018 MB / 0.559 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.3207, allocations: 7.938 kB / 0.559 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.321, allocations: 95.25 kB / 0.5591 GB, free: 16.72 MB / 382.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.0003537/0.3214, allocations: 162.6 kB / 0.5593 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.322, allocations: 350.8 kB / 0.5596 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3223, allocations: 0.6031 MB / 0.5602 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.3226, allocations: 155.7 kB / 0.5604 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3228, allocations: 258.9 kB / 0.5606 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.323, allocations: 262.8 kB / 0.5609 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.3231, allocations: 52 kB / 0.5609 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.3233, allocations: 99.97 kB / 0.561 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.3233, allocations: 123.5 kB / 0.5611 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3235, allocations: 266.5 kB / 0.5614 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.3239, allocations: 0.6658 MB / 0.562 GB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.324, allocations: 0 / 0.562 GB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.324, allocations: 0 / 0.562 GB, free: 13.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.324, allocations: 0 / 0.562 GB, free: 13.75 MB / 382.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.001183/0.3252, allocations: 0.837 MB / 0.5628 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3252, allocations: 15.98 kB / 0.5629 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.3253, allocations: 66.72 kB / 0.5629 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.3262, allocations: 168.2 kB / 0.5631 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3266, allocations: 401.9 kB / 0.5635 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.3267, allocations: 58.48 kB / 0.5635 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.3268, allocations: 28 kB / 0.5635 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.3274, allocations: 393.9 kB / 0.5639 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3275, allocations: 0 / 0.5639 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3275, allocations: 12 kB / 0.5639 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3275, allocations: 8 kB / 0.5639 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.3281, allocations: 330.4 kB / 0.5643 GB, free: 11.36 MB / 382.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.002196/0.3303, allocations: 1.864 MB / 0.5661 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.3311, allocations: 0.8179 MB / 0.5669 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.3315, allocations: 191.1 kB / 0.5671 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.3316, allocations: 7.984 kB / 0.5671 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.3316, allocations: 34.56 kB / 0.5671 GB, free: 8.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3316, allocations: 0 / 0.5671 GB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.004236/0.3359, allocations: 1.24 MB / 0.5683 GB, free: 6.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.3359, allocations: 59.39 kB / 0.5684 GB, free: 6.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.3363, allocations: 426 kB / 0.5688 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3363, allocations: 29.7 kB / 0.5688 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3364, allocations: 259.9 kB / 0.569 GB, free: 6.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.3365, allocations: 90.73 kB / 0.5691 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3366, allocations: 65.59 kB / 0.5692 GB, free: 5.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.3367, allocations: 358.7 kB / 0.5695 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.337, allocations: 180.2 kB / 0.5697 GB, free: 5.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.3374, allocations: 236.9 kB / 0.5699 GB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.3417, allocations: 1.302 MB / 0.5712 GB, free: 3.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3417, allocations: 0 / 0.5712 GB, free: 3.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00208/0.3438, allocations: 0.8407 MB / 0.572 GB, free: 3.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3438, allocations: 11.88 kB / 0.572 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3439, allocations: 4 kB / 0.572 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.3459, allocations: 0.5548 MB / 0.5726 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.3466, allocations: 143.8 kB / 0.5727 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/0.3534, allocations: 3.205 MB / 0.5759 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.3539, allocations: 47.78 kB / 0.5759 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.354, allocations: 15.98 kB / 0.5759 GB, free: 14.89 MB / 398.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.0002645/0.3542, allocations: 169.1 kB / 0.5761 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3543, allocations: 39.53 kB / 0.5761 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.3568, allocations: 0.7754 MB / 0.5769 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3568, allocations: 4 kB / 0.5769 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3568, allocations: 128 / 0.5769 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3568, allocations: 0 / 0.5769 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.3601, allocations: 1.504 MB / 0.5783 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3601, allocations: 0 / 0.5783 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.361, allocations: 123.8 kB / 0.5785 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.3637, allocations: 0.6366 MB / 0.5791 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.3637, allocations: 8.078 kB / 0.5791 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/0.3707, allocations: 3.175 MB / 0.5822 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3708, allocations: 8.047 kB / 0.5822 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.3737, allocations: 1.046 MB / 0.5832 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3738, allocations: 120.6 kB / 0.5833 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.3739, allocations: 8 kB / 0.5833 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3743, allocations: 23.91 kB / 0.5834 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.3745, allocations: 59.92 kB / 0.5834 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3745, allocations: 7.984 kB / 0.5834 GB, free: 6.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.3749, allocations: 303.1 kB / 0.5837 GB, free: 6.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3749, allocations: 4.062 kB / 0.5837 GB, free: 6.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3755, allocations: 127.8 kB / 0.5838 GB, free: 6.496 MB / 398.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.002959/0.3784, allocations: 1.513 MB / 0.5853 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.3813, allocations: 0.7752 MB / 0.5861 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3813, allocations: 0 / 0.5861 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.3836, allocations: 0.5765 MB / 0.5866 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.3841, allocations: 37.91 kB / 0.5867 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.3955, allocations: 4.853 MB / 0.5914 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.396, allocations: 0.8269 MB / 0.5922 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3961, allocations: 34.97 kB / 0.5923 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.3963, allocations: 151.4 kB / 0.5924 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3964, allocations: 0 / 0.5924 GB, free: 13.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.4372, allocations: 11.88 MB / 0.604 GB, free: 1.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 0 / 0.604 GB, free: 1.77 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)