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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.5 MB / 229.6 MB, free: 3.113 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.0008903/0.0008903, allocations: 95.55 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5692/0.5692, allocations: 78.07 MB / 409.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.948e-05, allocations: 4 kB / 485 MB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 69.35 MB / 0.5414 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.5311, allocations: 93.26 MB / 0.6324 GB, free: 11.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5314, allocations: 79.95 kB / 0.6325 GB, free: 11.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02661/0.5581, allocations: 9.913 MB / 0.6422 GB, free: 1.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5581, allocations: 0 / 0.6422 GB, free: 1.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.5581, allocations: 12 kB / 0.6422 GB, free: 1.309 MB / 458.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.001288/0.5594, allocations: 0.7291 MB / 0.6429 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5595, allocations: 12.03 kB / 0.6429 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.5601, allocations: 131.3 kB / 0.6431 GB, free: 400 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.5607, allocations: 375.9 kB / 0.6434 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5608, allocations: 54.47 kB / 0.6435 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.5609, allocations: 20 kB / 0.6435 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004532/0.5614, allocations: 281.4 kB / 0.6438 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.5619, allocations: 298.5 kB / 0.644 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5619, allocations: 0 / 0.644 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.5619, allocations: 3.953 kB / 0.644 GB, free: 15.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5619, allocations: 8 kB / 0.6441 GB, free: 15.32 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.002857/0.5648, allocations: 1.968 MB / 0.646 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.5655, allocations: 0.7451 MB / 0.6467 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.5657, allocations: 140.8 kB / 0.6468 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.5658, allocations: 4 kB / 0.6468 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5658, allocations: 34.52 kB / 0.6469 GB, free: 12.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.5658, allocations: 0 / 0.6469 GB, free: 12.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001929/0.5678, allocations: 0.6754 MB / 0.6475 GB, free: 11.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5678, allocations: 55.41 kB / 0.6476 GB, free: 11.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.5683, allocations: 349.3 kB / 0.6479 GB, free: 11.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.5683, allocations: 33.64 kB / 0.648 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.5685, allocations: 259.6 kB / 0.6482 GB, free: 10.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.5686, allocations: 86.75 kB / 0.6483 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.5687, allocations: 0 / 0.6483 GB, free: 10.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5689, allocations: 362.7 kB / 0.6486 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.5691, allocations: 132.3 kB / 0.6488 GB, free: 10.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.5694, allocations: 173.2 kB / 0.6489 GB, free: 9.992 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.5697, allocations: 144.9 kB / 0.6491 GB, free: 9.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5697, allocations: 4 kB / 0.6491 GB, free: 9.848 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002011/0.5717, allocations: 0.7551 MB / 0.6498 GB, free: 9.082 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5717, allocations: 5.562 kB / 0.6498 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5717, allocations: 4 kB / 0.6498 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.5739, allocations: 0.5549 MB / 0.6503 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.5748, allocations: 175.8 kB / 0.6505 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.5807, allocations: 2.705 MB / 0.6532 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.5811, allocations: 43.67 kB / 0.6532 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5812, allocations: 16.05 kB / 0.6532 GB, free: 5.465 MB / 474.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.0002175/0.5814, allocations: 113.1 kB / 0.6533 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001843/0.5833, allocations: 0.6775 MB / 0.654 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.5834, allocations: 39.53 kB / 0.654 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.5853, allocations: 0.6987 MB / 0.6547 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5853, allocations: 4 kB / 0.6547 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5853, allocations: 7.953 kB / 0.6547 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5853, allocations: 0 / 0.6547 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.588, allocations: 1.345 MB / 0.656 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.5881, allocations: 3.984 kB / 0.656 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.589, allocations: 155.9 kB / 0.6562 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/0.5915, allocations: 0.6407 MB / 0.6568 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5915, allocations: 11.98 kB / 0.6568 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/0.5971, allocations: 2.69 MB / 0.6594 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5972, allocations: 0 / 0.6594 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.5994, allocations: 0.9382 MB / 0.6604 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5996, allocations: 124.6 kB / 0.6605 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.115e-05/0.5996, allocations: 3.984 kB / 0.6605 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.6, allocations: 28.05 kB / 0.6605 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.6002, allocations: 59.89 kB / 0.6606 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.6002, allocations: 7.984 kB / 0.6606 GB, free: 13.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003293/0.6005, allocations: 275 kB / 0.6608 GB, free: 13.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6005, allocations: 3.938 kB / 0.6608 GB, free: 13.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005674/0.6011, allocations: 131.8 kB / 0.661 GB, free: 13.29 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.00228/0.6034, allocations: 1.435 MB / 0.6624 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.6059, allocations: 0.6924 MB / 0.663 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6059, allocations: 4 kB / 0.663 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.608, allocations: 0.5327 MB / 0.6636 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.6085, allocations: 27.28 kB / 0.6636 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.6121, allocations: 0.8243 MB / 0.6644 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.6125, allocations: 0.8265 MB / 0.6652 GB, free: 8.832 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.6126, allocations: 31.28 kB / 0.6652 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6128, allocations: 147.4 kB / 0.6654 GB, free: 8.652 MB / 490.7 MB Notification: Performance of SimCode: time 1.051e-06/0.6128, allocations: 0 / 0.6654 GB, free: 8.652 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/0.9723, allocations: 9.483 MB / 0.6746 GB, free: 117 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.9725, allocations: 143.7 kB / 0.6748 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.162, allocations: 0 / 0.6748 GB, free: 116.8 MB / 490.7 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/linux/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)