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.0009172/0.0009175, allocations: 172.9 kB / 15.42 MB, free: 6.207 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.292/1.292, allocations: 222.8 MB / 239 MB, free: 1.805 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.0007931/0.000793, allocations: 101.7 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.42 MB / 418.9 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8 kB / 498.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 68.74 MB / 0.554 GB, free: 39.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003908/0.3396, allocations: 3.605 MB / 0.5575 GB, free: 39.13 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3413, allocations: 1.079 MB / 0.5585 GB, free: 38.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.3415, allocations: 3.688 kB / 0.5585 GB, free: 38.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3419, allocations: 82.09 kB / 0.5586 GB, free: 38.63 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.0003756/0.3422, allocations: 134.8 kB / 0.5588 GB, free: 38.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.3429, allocations: 328.4 kB / 0.5591 GB, free: 38.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.3434, allocations: 0.5731 MB / 0.5596 GB, free: 38.31 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3437, allocations: 138.8 kB / 0.5598 GB, free: 38.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.344, allocations: 220.5 kB / 0.56 GB, free: 38.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3443, allocations: 241.1 kB / 0.5602 GB, free: 38.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.3443, allocations: 25.88 kB / 0.5602 GB, free: 38.14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3445, allocations: 69.91 kB / 0.5603 GB, free: 38.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.3446, allocations: 88.91 kB / 0.5604 GB, free: 38.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3448, allocations: 236.1 kB / 0.5606 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.3455, allocations: 0.6328 MB / 0.5612 GB, free: 37.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3455, allocations: 3.938 kB / 0.5612 GB, free: 37.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3455, allocations: 1.25 kB / 0.5612 GB, free: 37.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3455, allocations: 0 / 0.5612 GB, free: 37.89 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.001305/0.3468, allocations: 0.7474 MB / 0.562 GB, free: 37.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3469, allocations: 8.781 kB / 0.562 GB, free: 37.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.3469, allocations: 67.06 kB / 0.562 GB, free: 37.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.3479, allocations: 172.8 kB / 0.5622 GB, free: 37.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.3484, allocations: 399.8 kB / 0.5626 GB, free: 37.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3485, allocations: 62.36 kB / 0.5626 GB, free: 36.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.3486, allocations: 28.62 kB / 0.5627 GB, free: 36.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.3494, allocations: 384.2 kB / 0.563 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3494, allocations: 0 / 0.563 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.3494, allocations: 12.88 kB / 0.563 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3495, allocations: 7.609 kB / 0.563 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.3502, allocations: 337.5 kB / 0.5634 GB, free: 36.92 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.002769/0.353, allocations: 1.85 MB / 0.5652 GB, free: 36.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.354, allocations: 0.8206 MB / 0.566 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.3544, allocations: 190.6 kB / 0.5662 GB, free: 35.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.3545, allocations: 3.25 kB / 0.5662 GB, free: 35.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3545, allocations: 35.69 kB / 0.5662 GB, free: 35.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.3545, allocations: 1.125 kB / 0.5662 GB, free: 35.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.004483/0.359, allocations: 1.243 MB / 0.5674 GB, free: 34.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3591, allocations: 54.12 kB / 0.5675 GB, free: 34.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.3595, allocations: 436.4 kB / 0.5679 GB, free: 34.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3595, allocations: 29.7 kB / 0.5679 GB, free: 34.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3596, allocations: 254.8 kB / 0.5681 GB, free: 34.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.3597, allocations: 95.34 kB / 0.5682 GB, free: 34.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3597, allocations: 31.56 kB / 0.5683 GB, free: 34.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.3598, allocations: 359 kB / 0.5686 GB, free: 34.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.3602, allocations: 179.6 kB / 0.5688 GB, free: 33.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.3605, allocations: 233 kB / 0.569 GB, free: 33.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.3649, allocations: 1.293 MB / 0.5703 GB, free: 33.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3649, allocations: 2.844 kB / 0.5703 GB, free: 33.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002119/0.367, allocations: 0.84 MB / 0.5711 GB, free: 33.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3671, allocations: 9.812 kB / 0.5711 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3671, allocations: 6.109 kB / 0.5711 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.369, allocations: 0.5637 MB / 0.5717 GB, free: 33.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.3698, allocations: 143.9 kB / 0.5718 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.3755, allocations: 2.967 MB / 0.5747 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.3758, allocations: 47.3 kB / 0.5747 GB, free: 31.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3759, allocations: 10.94 kB / 0.5747 GB, free: 31.11 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.0001925/0.3761, allocations: 175.2 kB / 0.5749 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.3761, allocations: 48.5 kB / 0.575 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.3783, allocations: 0.7636 MB / 0.5757 GB, free: 30.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3783, allocations: 10.72 kB / 0.5757 GB, free: 30.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.3783, allocations: 3.938 kB / 0.5757 GB, free: 30.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3783, allocations: 0 / 0.5757 GB, free: 30.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.381, allocations: 1.483 MB / 0.5772 GB, free: 29.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.381, allocations: 0 / 0.5772 GB, free: 29.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.3818, allocations: 123.7 kB / 0.5773 GB, free: 29.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.3841, allocations: 0.6334 MB / 0.5779 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.3841, allocations: 14.23 kB / 0.5779 GB, free: 29.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.3895, allocations: 2.946 MB / 0.5808 GB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3895, allocations: 2.938 kB / 0.5808 GB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.3919, allocations: 1.048 MB / 0.5818 GB, free: 27.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.392, allocations: 123.3 kB / 0.5819 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.3921, allocations: 4 kB / 0.5819 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.3924, allocations: 33.36 kB / 0.582 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3925, allocations: 58.94 kB / 0.582 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3926, allocations: 13.16 kB / 0.582 GB, free: 27.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.3929, allocations: 299.4 kB / 0.5823 GB, free: 27.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3929, allocations: 0 / 0.5823 GB, free: 27.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.3934, allocations: 127.6 kB / 0.5824 GB, free: 27.08 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.002454/0.3958, allocations: 1.517 MB / 0.5839 GB, free: 26.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.3982, allocations: 0.7511 MB / 0.5847 GB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3982, allocations: 0 / 0.5847 GB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.4002, allocations: 0.5644 MB / 0.5852 GB, free: 25.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4006, allocations: 31.59 kB / 0.5852 GB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/0.4094, allocations: 5.016 MB / 0.5901 GB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.4096, allocations: 0.8165 MB / 0.5909 GB, free: 22.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.4098, allocations: 36.56 kB / 0.591 GB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4099, allocations: 148.5 kB / 0.5911 GB, free: 21.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4099, allocations: 0 / 0.5911 GB, free: 21.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4332, allocations: 10.89 MB / 0.6018 GB, free: 20.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.4334, allocations: 250 kB / 0.602 GB, free: 20.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.525, allocations: 1.062 kB / 0.602 GB, free: 20.09 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)