Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_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.001162/0.001162, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.271/1.271, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001151/0.001151, allocations: 180 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4344/0.4344, allocations: 79.45 MB / 420.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 12 kB / 0.4891 GB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 69.51 MB / 0.557 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002352/0.2988, allocations: 2.905 MB / 0.5598 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3001, allocations: 1.027 MB / 0.5608 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3003, allocations: 7.531 kB / 0.5608 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.3005, allocations: 80.78 kB / 0.5609 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3008, allocations: 172.4 kB / 0.5611 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3012, allocations: 264.8 kB / 0.5613 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.3016, allocations: 389.6 kB / 0.5617 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3017, allocations: 118.8 kB / 0.5618 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.302, allocations: 208.9 kB / 0.562 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.3022, allocations: 232.7 kB / 0.5622 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.3023, allocations: 26.66 kB / 0.5622 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3024, allocations: 62.39 kB / 0.5623 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3025, allocations: 93 kB / 0.5624 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.3025, allocations: 108.7 kB / 0.5625 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.3029, allocations: 0.4955 MB / 0.563 GB, free: 37.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.3029, allocations: 2.969 kB / 0.563 GB, free: 37.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.303, allocations: 0 / 0.563 GB, free: 37.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.303, allocations: 0 / 0.563 GB, free: 37.27 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.001145/0.3041, allocations: 0.7717 MB / 0.5637 GB, free: 36.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3042, allocations: 8.594 kB / 0.5637 GB, free: 36.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.641e-05/0.3042, allocations: 65.59 kB / 0.5638 GB, free: 36.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/0.3052, allocations: 169.2 kB / 0.564 GB, free: 36.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3056, allocations: 379.4 kB / 0.5643 GB, free: 36.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.3057, allocations: 61.42 kB / 0.5644 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.3058, allocations: 29.41 kB / 0.5644 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.3065, allocations: 398.7 kB / 0.5648 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3065, allocations: 3.953 kB / 0.5648 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3065, allocations: 10.19 kB / 0.5648 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3065, allocations: 10.41 kB / 0.5648 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.3072, allocations: 350.4 kB / 0.5651 GB, free: 36.34 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.002258/0.3095, allocations: 2.08 MB / 0.5672 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.3103, allocations: 0.8463 MB / 0.568 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3104, allocations: 4.5 kB / 0.568 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3104, allocations: 38.41 kB / 0.568 GB, free: 34.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.3104, allocations: 0 / 0.568 GB, free: 34.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004515/0.3149, allocations: 1.399 MB / 0.5694 GB, free: 34.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3149, allocations: 54.19 kB / 0.5695 GB, free: 34.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.3153, allocations: 438.8 kB / 0.5699 GB, free: 34.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3154, allocations: 32.67 kB / 0.5699 GB, free: 34.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3155, allocations: 256 kB / 0.5702 GB, free: 34.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.3156, allocations: 86.16 kB / 0.5702 GB, free: 34.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.3156, allocations: 10.47 kB / 0.5702 GB, free: 34.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3157, allocations: 353 kB / 0.5706 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3161, allocations: 200.5 kB / 0.5708 GB, free: 33.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.3165, allocations: 244.5 kB / 0.571 GB, free: 33.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.3169, allocations: 208.5 kB / 0.5712 GB, free: 33.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3169, allocations: 0.5312 kB / 0.5712 GB, free: 33.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002385/0.3193, allocations: 0.9404 MB / 0.5721 GB, free: 33.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3193, allocations: 9.453 kB / 0.5721 GB, free: 33.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3193, allocations: 3.422 kB / 0.5721 GB, free: 33.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.3215, allocations: 0.6458 MB / 0.5728 GB, free: 33.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.3224, allocations: 180.9 kB / 0.5729 GB, free: 33.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.3288, allocations: 3.249 MB / 0.5761 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.3293, allocations: 57.59 kB / 0.5762 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3293, allocations: 14.22 kB / 0.5762 GB, free: 31.98 MB / 430.1 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.0001947/0.3295, allocations: 165.3 kB / 0.5763 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.3296, allocations: 46.33 kB / 0.5764 GB, free: 31.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.3319, allocations: 0.8756 MB / 0.5772 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3319, allocations: 4.078 kB / 0.5772 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.332, allocations: 0 / 0.5772 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.332, allocations: 4.5 kB / 0.5773 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.3349, allocations: 1.623 MB / 0.5788 GB, free: 30.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3349, allocations: 1.625 kB / 0.5788 GB, free: 30.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.3358, allocations: 153.8 kB / 0.579 GB, free: 30.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.3384, allocations: 0.7321 MB / 0.5797 GB, free: 30.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3384, allocations: 14.27 kB / 0.5797 GB, free: 30.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/0.3445, allocations: 3.226 MB / 0.5829 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3446, allocations: 3.188 kB / 0.5829 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.3474, allocations: 1.166 MB / 0.584 GB, free: 28.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3475, allocations: 134.8 kB / 0.5841 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3476, allocations: 6.375 kB / 0.5841 GB, free: 28.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3479, allocations: 35.27 kB / 0.5842 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3481, allocations: 57.44 kB / 0.5842 GB, free: 28.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3481, allocations: 12.16 kB / 0.5842 GB, free: 28.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.3484, allocations: 295.7 kB / 0.5845 GB, free: 27.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 1.25 kB / 0.5845 GB, free: 27.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.349, allocations: 124.7 kB / 0.5846 GB, free: 27.85 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 (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.002668/0.3516, allocations: 1.612 MB / 0.5862 GB, free: 26.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.3542, allocations: 0.805 MB / 0.587 GB, free: 26.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3542, allocations: 1.156 kB / 0.587 GB, free: 26.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.3564, allocations: 0.6169 MB / 0.5876 GB, free: 26.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3567, allocations: 31.59 kB / 0.5876 GB, free: 26.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/0.3637, allocations: 3.857 MB / 0.5914 GB, free: 24.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.364, allocations: 0.8286 MB / 0.5922 GB, free: 23.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.3641, allocations: 37.11 kB / 0.5922 GB, free: 23.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3643, allocations: 146.4 kB / 0.5924 GB, free: 23.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3643, allocations: 0 / 0.5924 GB, free: 23.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3933, allocations: 10.74 MB / 0.6029 GB, free: 22.66 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.3935, allocations: 215.6 kB / 0.6031 GB, free: 22.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.261, allocations: 0 / 0.6031 GB, free: 22.43 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: