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.001222/0.001222, allocations: 180.9 kB / 7.65 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.42/1.42, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008282/0.0008281, allocations: 98.3 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4981/0.4981, allocations: 78.11 MB / 409.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.417e-05, allocations: 7.938 kB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 69.37 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.545, allocations: 93.25 MB / 0.6325 GB, free: 6.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/0.5455, allocations: 76.98 kB / 0.6326 GB, free: 6.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/0.5726, allocations: 9.915 MB / 0.6422 GB, free: 12.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5727, allocations: 0 / 0.6422 GB, free: 12.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.5727, allocations: 16 kB / 0.6423 GB, free: 12.47 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.001239/0.5739, allocations: 0.7236 MB / 0.643 GB, free: 11.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.574, allocations: 8.875 kB / 0.643 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/0.5746, allocations: 135.3 kB / 0.6431 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.5752, allocations: 375.9 kB / 0.6435 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.5753, allocations: 54.47 kB / 0.6435 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.5754, allocations: 16 kB / 0.6435 GB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004734/0.5759, allocations: 273.5 kB / 0.6438 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.5764, allocations: 302.4 kB / 0.6441 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5764, allocations: 1.312 kB / 0.6441 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5765, allocations: 3.953 kB / 0.6441 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.5765, allocations: 10.44 kB / 0.6441 GB, free: 10.5 MB / 458.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.00287/0.5794, allocations: 1.973 MB / 0.646 GB, free: 8.398 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.58, allocations: 0.7393 MB / 0.6467 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.5802, allocations: 136.8 kB / 0.6469 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.5803, allocations: 4 kB / 0.6469 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5803, allocations: 43.27 kB / 0.6469 GB, free: 7.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=24): time 3.927e-06/0.5803, allocations: 0 / 0.6469 GB, free: 7.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=24): time 0.001956/0.5823, allocations: 0.6768 MB / 0.6476 GB, free: 6.664 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.5823, allocations: 51.41 kB / 0.6476 GB, free: 6.602 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.5827, allocations: 353.3 kB / 0.648 GB, free: 6.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5827, allocations: 25.7 kB / 0.648 GB, free: 6.219 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.5829, allocations: 259.6 kB / 0.6482 GB, free: 5.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.583, allocations: 86.75 kB / 0.6483 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.583, allocations: 0 / 0.6483 GB, free: 5.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5831, allocations: 362.7 kB / 0.6487 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.5833, allocations: 132.3 kB / 0.6488 GB, free: 5.379 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5835, allocations: 173.2 kB / 0.649 GB, free: 5.191 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.5838, allocations: 140.9 kB / 0.6491 GB, free: 5.055 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5838, allocations: 4 kB / 0.6491 GB, free: 5.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001855/0.5856, allocations: 0.7551 MB / 0.6498 GB, free: 4.285 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5857, allocations: 4 kB / 0.6498 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5857, allocations: 0 / 0.6498 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.5877, allocations: 0.5597 MB / 0.6504 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.5887, allocations: 183.8 kB / 0.6506 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.5942, allocations: 2.697 MB / 0.6532 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.5947, allocations: 43.67 kB / 0.6532 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.5948, allocations: 11.98 kB / 0.6532 GB, free: 0.6875 MB / 458.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.0002011/0.595, allocations: 120.7 kB / 0.6534 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001777/0.5967, allocations: 0.6808 MB / 0.654 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.5968, allocations: 39.53 kB / 0.6541 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.5987, allocations: 0.6987 MB / 0.6547 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5988, allocations: 0 / 0.6547 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5988, allocations: 7.953 kB / 0.6548 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5988, allocations: 4 kB / 0.6548 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.6013, allocations: 1.349 MB / 0.6561 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6013, allocations: 3.984 kB / 0.6561 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009894/0.6023, allocations: 155.9 kB / 0.6562 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.6046, allocations: 0.6407 MB / 0.6568 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.6047, allocations: 7.984 kB / 0.6569 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/0.61, allocations: 2.701 MB / 0.6595 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.61, allocations: 2.266 kB / 0.6595 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6121, allocations: 0.9225 MB / 0.6604 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.6123, allocations: 120.6 kB / 0.6605 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.6123, allocations: 7.984 kB / 0.6605 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.6127, allocations: 24.05 kB / 0.6605 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6128, allocations: 63.89 kB / 0.6606 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.6129, allocations: 7.984 kB / 0.6606 GB, free: 8.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002799/0.6131, allocations: 275 kB / 0.6609 GB, free: 8.648 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6131, allocations: 0 / 0.6609 GB, free: 8.648 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005263/0.6137, allocations: 131.8 kB / 0.661 GB, free: 8.52 MB / 474.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.002204/0.6159, allocations: 1.449 MB / 0.6624 GB, free: 7.043 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/0.6183, allocations: 0.6924 MB / 0.6631 GB, free: 6.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6184, allocations: 0 / 0.6631 GB, free: 6.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.6205, allocations: 0.5388 MB / 0.6636 GB, free: 5.793 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.6209, allocations: 26.09 kB / 0.6636 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.6243, allocations: 0.8189 MB / 0.6644 GB, free: 4.918 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6247, allocations: 0.8265 MB / 0.6652 GB, free: 4.066 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.6248, allocations: 31.28 kB / 0.6653 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.625, allocations: 147.4 kB / 0.6654 GB, free: 3.887 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.625, allocations: 0 / 0.6654 GB, free: 3.887 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.6532, allocations: 9.484 MB / 0.6747 GB, free: 10.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.6535, allocations: 157.5 kB / 0.6748 GB, free: 10.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.724, allocations: 0 / 0.6748 GB, free: 10.39 MB / 490.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)