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.001076/0.001076, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.263/1.263, allocations: 222.9 MB / 238.9 MB, free: 4.711 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.001218/0.001218, allocations: 192.5 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4297/0.4297, allocations: 78.52 MB / 417.9 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 497 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 68.16 MB / 0.552 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2137/0.3348, allocations: 3.616 MB / 0.5555 GB, free: 38.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3365, allocations: 1.069 MB / 0.5565 GB, free: 37.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.3367, allocations: 5.281 kB / 0.5565 GB, free: 37.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.337, allocations: 85.59 kB / 0.5566 GB, free: 37.91 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.0003303/0.3374, allocations: 134.9 kB / 0.5567 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.338, allocations: 318.9 kB / 0.5571 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.3385, allocations: 0.6024 MB / 0.5576 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.3387, allocations: 149.2 kB / 0.5578 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.339, allocations: 247.8 kB / 0.558 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3392, allocations: 274.2 kB / 0.5583 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.3393, allocations: 52.56 kB / 0.5583 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3395, allocations: 104.4 kB / 0.5584 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.3396, allocations: 121.1 kB / 0.5585 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3397, allocations: 267 kB / 0.5588 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.3402, allocations: 0.6594 MB / 0.5594 GB, free: 37.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3403, allocations: 0 / 0.5594 GB, free: 37.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3403, allocations: 0 / 0.5594 GB, free: 37.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3403, allocations: 5.781 kB / 0.5595 GB, free: 37.42 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.001223/0.3415, allocations: 0.8343 MB / 0.5603 GB, free: 36.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3416, allocations: 9.219 kB / 0.5603 GB, free: 36.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.3416, allocations: 69.25 kB / 0.5603 GB, free: 36.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/0.3426, allocations: 174.3 kB / 0.5605 GB, free: 36.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.343, allocations: 401.6 kB / 0.5609 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3431, allocations: 60.62 kB / 0.5609 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.3431, allocations: 29.28 kB / 0.561 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.3439, allocations: 384.3 kB / 0.5613 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3439, allocations: 2.125 kB / 0.5613 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3439, allocations: 14.69 kB / 0.5614 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3439, allocations: 6.125 kB / 0.5614 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.3446, allocations: 332.6 kB / 0.5617 GB, free: 36.47 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.002218/0.3468, allocations: 1.866 MB / 0.5635 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.3476, allocations: 0.8104 MB / 0.5643 GB, free: 35.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.348, allocations: 184.8 kB / 0.5645 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3481, allocations: 7.812 kB / 0.5645 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3481, allocations: 36.33 kB / 0.5645 GB, free: 35.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3481, allocations: 0 / 0.5645 GB, free: 35.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004354/0.3525, allocations: 1.252 MB / 0.5657 GB, free: 34.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3525, allocations: 53.94 kB / 0.5658 GB, free: 34.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.3529, allocations: 429.3 kB / 0.5662 GB, free: 34.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3529, allocations: 33.02 kB / 0.5662 GB, free: 34.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.353, allocations: 255.2 kB / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.3531, allocations: 87.27 kB / 0.5666 GB, free: 34.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3532, allocations: 64.59 kB / 0.5666 GB, free: 34.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.3533, allocations: 364.1 kB / 0.567 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.3536, allocations: 183.1 kB / 0.5671 GB, free: 34.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.354, allocations: 232.4 kB / 0.5674 GB, free: 34.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.3584, allocations: 1.3 MB / 0.5686 GB, free: 34.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3584, allocations: 2.906 kB / 0.5686 GB, free: 34.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002081/0.3605, allocations: 0.839 MB / 0.5695 GB, free: 33.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3605, allocations: 10.25 kB / 0.5695 GB, free: 33.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3605, allocations: 2.969 kB / 0.5695 GB, free: 33.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.3625, allocations: 0.5634 MB / 0.57 GB, free: 33.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.3632, allocations: 134.1 kB / 0.5701 GB, free: 33.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006075/0.3693, allocations: 3.206 MB / 0.5733 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3697, allocations: 54.19 kB / 0.5733 GB, free: 32.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3697, allocations: 7.875 kB / 0.5733 GB, free: 32.49 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.0001913/0.3699, allocations: 180.9 kB / 0.5735 GB, free: 32.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.37, allocations: 40.53 kB / 0.5735 GB, free: 32.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.3722, allocations: 0.7805 MB / 0.5743 GB, free: 32.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3722, allocations: 2.625 kB / 0.5743 GB, free: 32.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3722, allocations: 2.625 kB / 0.5743 GB, free: 32.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3722, allocations: 4.875 kB / 0.5743 GB, free: 32.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.3749, allocations: 1.477 MB / 0.5758 GB, free: 31.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3749, allocations: 0 / 0.5758 GB, free: 31.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.3758, allocations: 120.4 kB / 0.5759 GB, free: 31.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.3782, allocations: 0.6317 MB / 0.5765 GB, free: 31.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.3782, allocations: 9.672 kB / 0.5765 GB, free: 31.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/0.384, allocations: 3.186 MB / 0.5796 GB, free: 29.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.384, allocations: 3.938 kB / 0.5796 GB, free: 29.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3866, allocations: 1.046 MB / 0.5806 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3867, allocations: 118.1 kB / 0.5807 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.3868, allocations: 10.12 kB / 0.5808 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.3871, allocations: 20.77 kB / 0.5808 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3873, allocations: 56.58 kB / 0.5808 GB, free: 28.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.3873, allocations: 7.594 kB / 0.5808 GB, free: 28.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.3876, allocations: 305.3 kB / 0.5811 GB, free: 28.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3876, allocations: 4.062 kB / 0.5811 GB, free: 28.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.3882, allocations: 132.5 kB / 0.5813 GB, free: 28.8 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.002728/0.3909, allocations: 1.513 MB / 0.5827 GB, free: 27.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.3936, allocations: 0.7697 MB / 0.5835 GB, free: 27.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3936, allocations: 0 / 0.5835 GB, free: 27.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.3958, allocations: 0.5678 MB / 0.584 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3962, allocations: 41.2 kB / 0.5841 GB, free: 27.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.4064, allocations: 5.014 MB / 0.589 GB, free: 24.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.4067, allocations: 0.8197 MB / 0.5898 GB, free: 23.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.4068, allocations: 35.39 kB / 0.5898 GB, free: 23.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.407, allocations: 155.5 kB / 0.59 GB, free: 23.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.407, allocations: 0 / 0.59 GB, free: 23.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.4396, allocations: 11.55 MB / 0.6012 GB, free: 22.78 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.4398, allocations: 229.2 kB / 0.6015 GB, free: 22.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.355, allocations: 4 kB / 0.6015 GB, free: 22.52 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)