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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 181 kB / 15.45 MB, free: 6.23 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.429/1.429, allocations: 223.3 MB / 239.5 MB, free: 1.461 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.0008797/0.0008796, allocations: 99.48 kB / 290.6 MB, free: 13.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.4785/0.4785, allocations: 78.62 MB / 420.4 MB, free: 43.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 12 kB / 0.4889 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 69.35 MB / 0.5566 GB, free: 39 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003541/0.3779, allocations: 3.232 MB / 0.5597 GB, free: 38.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3804, allocations: 1.06 MB / 0.5608 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.381, allocations: 4.438 kB / 0.5608 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.3815, allocations: 80.31 kB / 0.5609 GB, free: 37.7 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.0007679/0.3823, allocations: 137.7 kB / 0.561 GB, free: 37.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.3831, allocations: 321.1 kB / 0.5613 GB, free: 37.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.384, allocations: 0.5706 MB / 0.5619 GB, free: 37.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.3842, allocations: 134.9 kB / 0.562 GB, free: 37.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.3846, allocations: 220.2 kB / 0.5622 GB, free: 37.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3849, allocations: 246.2 kB / 0.5624 GB, free: 37.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.3849, allocations: 26.22 kB / 0.5625 GB, free: 37.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.3851, allocations: 70.8 kB / 0.5625 GB, free: 37.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.3852, allocations: 87.94 kB / 0.5626 GB, free: 37.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.3854, allocations: 258.4 kB / 0.5629 GB, free: 37.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.3861, allocations: 0.6349 MB / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3861, allocations: 0 / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3861, allocations: 1.031 kB / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3861, allocations: 0.7188 kB / 0.5635 GB, free: 36.93 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.001225/0.3874, allocations: 0.7526 MB / 0.5642 GB, free: 36.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3874, allocations: 9.344 kB / 0.5642 GB, free: 36.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.3875, allocations: 68.05 kB / 0.5643 GB, free: 36.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/0.3884, allocations: 172.6 kB / 0.5644 GB, free: 36.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.389, allocations: 404.7 kB / 0.5648 GB, free: 36.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.3891, allocations: 68.69 kB / 0.5649 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3892, allocations: 24.78 kB / 0.5649 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.3902, allocations: 402.5 kB / 0.5653 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3902, allocations: 0 / 0.5653 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.526e-05/0.3902, allocations: 11.81 kB / 0.5653 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3902, allocations: 6.438 kB / 0.5653 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.3911, allocations: 348.2 kB / 0.5657 GB, free: 35.97 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.002643/0.3937, allocations: 1.876 MB / 0.5675 GB, free: 34.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.3947, allocations: 0.8465 MB / 0.5683 GB, free: 34.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.3951, allocations: 202.6 kB / 0.5685 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3952, allocations: 3.375 kB / 0.5685 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.3952, allocations: 39.72 kB / 0.5685 GB, free: 33.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3952, allocations: 0 / 0.5685 GB, free: 33.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.004362/0.3996, allocations: 1.414 MB / 0.5699 GB, free: 33.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3996, allocations: 53.66 kB / 0.57 GB, free: 33.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.4, allocations: 434.6 kB / 0.5704 GB, free: 33.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4001, allocations: 25.7 kB / 0.5704 GB, free: 33.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4002, allocations: 256.3 kB / 0.5707 GB, free: 32.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.4003, allocations: 88.39 kB / 0.5707 GB, free: 32.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.4003, allocations: 39.95 kB / 0.5708 GB, free: 32.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.4004, allocations: 359.8 kB / 0.5711 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.4008, allocations: 202.3 kB / 0.5713 GB, free: 32.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.4012, allocations: 250.1 kB / 0.5716 GB, free: 32.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/0.4057, allocations: 1.422 MB / 0.573 GB, free: 31.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4057, allocations: 4 kB / 0.573 GB, free: 31.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002346/0.4081, allocations: 0.9432 MB / 0.5739 GB, free: 31.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4081, allocations: 10.25 kB / 0.5739 GB, free: 31.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4081, allocations: 1.094 kB / 0.5739 GB, free: 31.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.4102, allocations: 0.6447 MB / 0.5745 GB, free: 31.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.411, allocations: 172.1 kB / 0.5747 GB, free: 31.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/0.4172, allocations: 3.176 MB / 0.5778 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.4178, allocations: 55.97 kB / 0.5778 GB, free: 29.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.4178, allocations: 11.28 kB / 0.5778 GB, free: 29.57 MB / 426.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.0002736/0.4181, allocations: 165.3 kB / 0.578 GB, free: 29.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.4182, allocations: 46.5 kB / 0.578 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.4205, allocations: 0.87 MB / 0.5789 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4205, allocations: 6.719 kB / 0.5789 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4205, allocations: 0 / 0.5789 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4205, allocations: 3.281 kB / 0.5789 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.4237, allocations: 1.581 MB / 0.5805 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4237, allocations: 0 / 0.5805 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.4245, allocations: 155.1 kB / 0.5806 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.427, allocations: 0.7391 MB / 0.5813 GB, free: 28.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.4271, allocations: 14.03 kB / 0.5813 GB, free: 28.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.4329, allocations: 3.124 MB / 0.5844 GB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4329, allocations: 0 / 0.5844 GB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.4359, allocations: 1.174 MB / 0.5855 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4361, allocations: 128 kB / 0.5857 GB, free: 25.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.4362, allocations: 10.17 kB / 0.5857 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4365, allocations: 34.7 kB / 0.5857 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4367, allocations: 56.44 kB / 0.5858 GB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.4367, allocations: 12.69 kB / 0.5858 GB, free: 25.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003338/0.4371, allocations: 299.5 kB / 0.586 GB, free: 25.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4371, allocations: 0 / 0.586 GB, free: 25.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.4377, allocations: 130.8 kB / 0.5862 GB, free: 25.47 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 (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.002567/0.4402, allocations: 1.604 MB / 0.5877 GB, free: 24.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.4427, allocations: 0.827 MB / 0.5885 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4427, allocations: 0 / 0.5885 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.4447, allocations: 0.6183 MB / 0.5892 GB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.4451, allocations: 36.91 kB / 0.5892 GB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4552, allocations: 5.228 MB / 0.5943 GB, free: 21.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.4557, allocations: 0.8223 MB / 0.5951 GB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.4559, allocations: 36.81 kB / 0.5951 GB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4561, allocations: 145.9 kB / 0.5953 GB, free: 20.3 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4561, allocations: 0 / 0.5953 GB, free: 20.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.4848, allocations: 10.9 MB / 0.6059 GB, free: 19.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.485, allocations: 240.8 kB / 0.6061 GB, free: 19.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.904, allocations: 2.109 kB / 0.6061 GB, free: 19.04 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)