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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009587/0.0009586, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.19/1.19, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008757/0.0008758, allocations: 93.05 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4421/0.4421, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.375e-05, allocations: 7.984 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 69.51 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4411, allocations: 94.56 MB / 0.6416 GB, free: 5.035 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4413, allocations: 83.95 kB / 0.6416 GB, free: 4.953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.4688, allocations: 10.1 MB / 0.6515 GB, free: 10.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4688, allocations: 0 / 0.6515 GB, free: 10.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4688, allocations: 12 kB / 0.6515 GB, free: 10.75 MB / 474.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.001553/0.4704, allocations: 0.7279 MB / 0.6522 GB, free: 9.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4705, allocations: 19.97 kB / 0.6522 GB, free: 9.957 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.4706, allocations: 70.53 kB / 0.6523 GB, free: 9.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.4713, allocations: 131.3 kB / 0.6524 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.472, allocations: 369.7 kB / 0.6528 GB, free: 9.352 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4722, allocations: 66.47 kB / 0.6528 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.4722, allocations: 28 kB / 0.6529 GB, free: 9.254 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.4729, allocations: 344 kB / 0.6532 GB, free: 8.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4729, allocations: 3.953 kB / 0.6532 GB, free: 8.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.473, allocations: 12 kB / 0.6532 GB, free: 8.895 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.473, allocations: 4 kB / 0.6532 GB, free: 8.891 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.4735, allocations: 287.1 kB / 0.6535 GB, free: 8.609 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003138/0.4766, allocations: 2.019 MB / 0.6555 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.4773, allocations: 0.7646 MB / 0.6562 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.4776, allocations: 140.9 kB / 0.6563 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.4776, allocations: 11.98 kB / 0.6564 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4777, allocations: 34.56 kB / 0.6564 GB, free: 5.348 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.4777, allocations: 4 kB / 0.6564 GB, free: 5.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001984/0.4797, allocations: 0.6781 MB / 0.6571 GB, free: 4.656 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4797, allocations: 55.41 kB / 0.6571 GB, free: 4.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.4802, allocations: 375.2 kB / 0.6575 GB, free: 4.215 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4802, allocations: 29.7 kB / 0.6575 GB, free: 4.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.4804, allocations: 259.6 kB / 0.6577 GB, free: 3.922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.4805, allocations: 102.7 kB / 0.6578 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.4805, allocations: 8 kB / 0.6579 GB, free: 3.812 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4807, allocations: 346.9 kB / 0.6582 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.4809, allocations: 148.1 kB / 0.6583 GB, free: 3.316 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.4812, allocations: 185.2 kB / 0.6585 GB, free: 3.117 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4815, allocations: 156.9 kB / 0.6587 GB, free: 2.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4815, allocations: 0 / 0.6587 GB, free: 2.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002046/0.4835, allocations: 0.7784 MB / 0.6594 GB, free: 2.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4836, allocations: 14.14 kB / 0.6594 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4836, allocations: 4 kB / 0.6594 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.4857, allocations: 0.5627 MB / 0.66 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/0.4866, allocations: 167.9 kB / 0.6601 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.4926, allocations: 2.787 MB / 0.6629 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.4931, allocations: 51.78 kB / 0.6629 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4931, allocations: 20.27 kB / 0.6629 GB, free: 14.45 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" ) "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 () * 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.0001494/0.4933, allocations: 125.8 kB / 0.663 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4934, allocations: 51.33 kB / 0.6631 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.4954, allocations: 0.7191 MB / 0.6638 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4955, allocations: 4 kB / 0.6638 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.4955, allocations: 0 / 0.6638 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4955, allocations: 0 / 0.6638 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.4983, allocations: 1.415 MB / 0.6652 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4983, allocations: 8.062 kB / 0.6652 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009864/0.4993, allocations: 155.8 kB / 0.6653 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.5018, allocations: 0.6406 MB / 0.666 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.5018, allocations: 7.984 kB / 0.666 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.5073, allocations: 2.752 MB / 0.6687 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5073, allocations: 7.922 kB / 0.6687 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.5096, allocations: 0.9613 MB / 0.6696 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.5098, allocations: 120.5 kB / 0.6697 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.5098, allocations: 12.27 kB / 0.6697 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.5102, allocations: 32.11 kB / 0.6698 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.5104, allocations: 63.89 kB / 0.6698 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.5104, allocations: 15.98 kB / 0.6698 GB, free: 7.105 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.5108, allocations: 289.2 kB / 0.6701 GB, free: 6.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5108, allocations: 0 / 0.6701 GB, free: 6.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.5113, allocations: 139.8 kB / 0.6703 GB, free: 6.688 MB / 490.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 () * 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.002367/0.5137, allocations: 1.458 MB / 0.6717 GB, free: 5.195 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.5162, allocations: 0.7166 MB / 0.6724 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5162, allocations: 0 / 0.6724 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.5184, allocations: 0.5568 MB / 0.6729 GB, free: 3.895 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.5188, allocations: 30.03 kB / 0.6729 GB, free: 3.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5224, allocations: 0.8453 MB / 0.6738 GB, free: 2.984 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.5228, allocations: 0.8302 MB / 0.6746 GB, free: 2.125 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.523, allocations: 26.97 kB / 0.6746 GB, free: 2.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.5232, allocations: 151.4 kB / 0.6748 GB, free: 1.953 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5232, allocations: 0 / 0.6748 GB, free: 1.953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/0.8014, allocations: 10.32 MB / 0.6848 GB, free: 114.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.8016, allocations: 192.8 kB / 0.685 GB, free: 114.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.716, allocations: 1.406 kB / 0.685 GB, free: 114.6 MB / 490.7 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)