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.00115/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.404/1.404, allocations: 222.9 MB / 239 MB, free: 4.703 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.001605/0.001605, allocations: 192.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5475/0.5475, allocations: 91.9 MB / 431.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001727, allocations: 75.88 kB / 0.5015 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4529, allocations: 71.26 MB / 0.5711 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004134/0.4571, allocations: 3.621 MB / 0.5746 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4589, allocations: 1.077 MB / 0.5757 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.4591, allocations: 7.406 kB / 0.5757 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.4595, allocations: 73.8 kB / 0.5758 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.4599, allocations: 140.8 kB / 0.5759 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.4605, allocations: 327.5 kB / 0.5762 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.4609, allocations: 0.6029 MB / 0.5768 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.4612, allocations: 157.4 kB / 0.5769 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.4615, allocations: 255.8 kB / 0.5772 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.4617, allocations: 273.2 kB / 0.5774 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.4618, allocations: 53.69 kB / 0.5775 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.462, allocations: 103.1 kB / 0.5776 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.4621, allocations: 117.2 kB / 0.5777 GB, free: 33.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.4623, allocations: 274.1 kB / 0.578 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.4628, allocations: 0.666 MB / 0.5786 GB, free: 32.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4629, allocations: 0 / 0.5786 GB, free: 32.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4629, allocations: 1.625 kB / 0.5786 GB, free: 32.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.4629, allocations: 2.594 kB / 0.5786 GB, free: 32.76 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.001416/0.4643, allocations: 0.8345 MB / 0.5794 GB, free: 32.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4644, allocations: 9.406 kB / 0.5794 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.4644, allocations: 66.02 kB / 0.5795 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.4654, allocations: 172.5 kB / 0.5797 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.4659, allocations: 396 kB / 0.58 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.466, allocations: 62.3 kB / 0.5801 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.4661, allocations: 28.38 kB / 0.5801 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/0.4669, allocations: 385.8 kB / 0.5805 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4669, allocations: 3.031 kB / 0.5805 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.467, allocations: 13.81 kB / 0.5805 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.467, allocations: 9.031 kB / 0.5805 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.4676, allocations: 330.3 kB / 0.5808 GB, free: 31.39 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.002386/0.47, allocations: 1.874 MB / 0.5827 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.4709, allocations: 0.8163 MB / 0.5835 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.4713, allocations: 187.6 kB / 0.5836 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.4714, allocations: 2.875 kB / 0.5837 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4714, allocations: 33.33 kB / 0.5837 GB, free: 29.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.4714, allocations: 3.938 kB / 0.5837 GB, free: 29.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004433/0.4759, allocations: 1.247 MB / 0.5849 GB, free: 28.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4759, allocations: 54.5 kB / 0.585 GB, free: 28.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.4764, allocations: 432.1 kB / 0.5854 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4764, allocations: 31.17 kB / 0.5854 GB, free: 28.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4766, allocations: 257.5 kB / 0.5856 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.4766, allocations: 91.52 kB / 0.5857 GB, free: 28.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4768, allocations: 68.95 kB / 0.5858 GB, free: 28.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.4769, allocations: 356.7 kB / 0.5861 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.4773, allocations: 188.8 kB / 0.5863 GB, free: 27.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.4777, allocations: 228.7 kB / 0.5865 GB, free: 27.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.4825, allocations: 1.289 MB / 0.5878 GB, free: 27.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4825, allocations: 0 / 0.5878 GB, free: 27.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002639/0.4852, allocations: 0.8428 MB / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4852, allocations: 10.66 kB / 0.5886 GB, free: 27.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4853, allocations: 3.375 kB / 0.5886 GB, free: 27.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.4874, allocations: 0.5628 MB / 0.5892 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.4883, allocations: 137.1 kB / 0.5893 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.4954, allocations: 3.21 MB / 0.5924 GB, free: 24.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.4959, allocations: 49.06 kB / 0.5925 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.4959, allocations: 15.34 kB / 0.5925 GB, free: 24.79 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.0002678/0.4962, allocations: 170.3 kB / 0.5927 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.4963, allocations: 40.25 kB / 0.5927 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.4986, allocations: 0.7812 MB / 0.5935 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4986, allocations: 2.656 kB / 0.5935 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.4986, allocations: 3.938 kB / 0.5935 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4987, allocations: 5.266 kB / 0.5935 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.5017, allocations: 1.469 MB / 0.5949 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5017, allocations: 0.7812 kB / 0.5949 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009103/0.5026, allocations: 127.4 kB / 0.595 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/0.5052, allocations: 0.6308 MB / 0.5957 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.5053, allocations: 8.812 kB / 0.5957 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006673/0.5119, allocations: 3.176 MB / 0.5988 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.512, allocations: 4.969 kB / 0.5988 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.515, allocations: 1.055 MB / 0.5998 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.5152, allocations: 119 kB / 0.5999 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.5152, allocations: 7.469 kB / 0.5999 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.5156, allocations: 24.86 kB / 0.5999 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.5158, allocations: 58.78 kB / 0.6 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.5158, allocations: 15.97 kB / 0.6 GB, free: 20.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.5162, allocations: 300.3 kB / 0.6003 GB, free: 20.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5162, allocations: 0 / 0.6003 GB, free: 20.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00058/0.5168, allocations: 137.7 kB / 0.6004 GB, free: 20.59 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.002799/0.5196, allocations: 1.507 MB / 0.6019 GB, free: 19.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003061/0.5227, allocations: 0.7705 MB / 0.6027 GB, free: 19.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5227, allocations: 0 / 0.6027 GB, free: 19.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.5253, allocations: 0.573 MB / 0.6032 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.5259, allocations: 38.06 kB / 0.6033 GB, free: 19.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5372, allocations: 5.015 MB / 0.6082 GB, free: 16.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.5377, allocations: 0.8179 MB / 0.6089 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.5379, allocations: 36.27 kB / 0.609 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.5381, allocations: 151.9 kB / 0.6091 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 2.314e-06/0.5381, allocations: 0 / 0.6091 GB, free: 15.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.5685, allocations: 11.57 MB / 0.6204 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.5689, allocations: 237.1 kB / 0.6207 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.715, allocations: 9.828 kB / 0.6207 GB, free: 11.39 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/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)