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.008457/0.008457, allocations: 170.4 kB / 15.11 MB, free: 5.973 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.347/1.347, allocations: 223.2 MB / 239 MB, free: 1.805 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.0009363/0.0009362, allocations: 104.2 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5344/0.5344, allocations: 78.52 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 499.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4264, allocations: 69.36 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.5466, allocations: 94 MB / 0.6476 GB, free: 12.35 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.5468, allocations: 76.8 kB / 0.6477 GB, free: 12.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0266/0.5734, allocations: 10.04 MB / 0.6575 GB, free: 2.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.5734, allocations: 0 / 0.6575 GB, free: 2.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5735, allocations: 11.94 kB / 0.6575 GB, free: 2.172 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.001431/0.5749, allocations: 0.8215 MB / 0.6583 GB, free: 1.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.575, allocations: 12.03 kB / 0.6583 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.575, allocations: 66.53 kB / 0.6584 GB, free: 1.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.5757, allocations: 131.3 kB / 0.6585 GB, free: 1.082 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.5763, allocations: 381.6 kB / 0.6589 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.5764, allocations: 62.34 kB / 0.6589 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.5764, allocations: 24 kB / 0.6589 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.5772, allocations: 394.3 kB / 0.6593 GB, free: 200 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5773, allocations: 3.953 kB / 0.6593 GB, free: 196 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.5773, allocations: 12 kB / 0.6593 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5773, allocations: 8 kB / 0.6593 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.578, allocations: 350.4 kB / 0.6597 GB, free: 15.82 MB / 474.7 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.002977/0.581, allocations: 2.015 MB / 0.6616 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.5822, allocations: 0.8426 MB / 0.6625 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.5822, allocations: 4 kB / 0.6625 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5822, allocations: 34.56 kB / 0.6625 GB, free: 12.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.5822, allocations: 0 / 0.6625 GB, free: 12.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.005365/0.5876, allocations: 1.52 MB / 0.664 GB, free: 11.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5877, allocations: 55.39 kB / 0.664 GB, free: 11.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.5881, allocations: 392.9 kB / 0.6644 GB, free: 10.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.5881, allocations: 29.7 kB / 0.6644 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.5883, allocations: 255.9 kB / 0.6647 GB, free: 10.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.5884, allocations: 78.84 kB / 0.6648 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.5884, allocations: 12 kB / 0.6648 GB, free: 10.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5886, allocations: 354.8 kB / 0.6651 GB, free: 9.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.589, allocations: 192.2 kB / 0.6653 GB, free: 9.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.5894, allocations: 252.6 kB / 0.6655 GB, free: 9.469 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.5898, allocations: 201 kB / 0.6657 GB, free: 9.273 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5898, allocations: 0 / 0.6657 GB, free: 9.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002398/0.5922, allocations: 0.9306 MB / 0.6666 GB, free: 8.332 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5922, allocations: 7.953 kB / 0.6666 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.5923, allocations: 8 kB / 0.6666 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.5945, allocations: 0.6446 MB / 0.6673 GB, free: 7.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.5954, allocations: 175.8 kB / 0.6674 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.602, allocations: 3.193 MB / 0.6706 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.6025, allocations: 55.73 kB / 0.6706 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.6025, allocations: 15.98 kB / 0.6706 GB, free: 4.098 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "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 () * 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 (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.0002487/0.6028, allocations: 161.5 kB / 0.6708 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.6029, allocations: 47.39 kB / 0.6708 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.6053, allocations: 0.8637 MB / 0.6717 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6053, allocations: 4 kB / 0.6717 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.6053, allocations: 3.938 kB / 0.6717 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.6053, allocations: 0 / 0.6717 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.6085, allocations: 1.571 MB / 0.6732 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6085, allocations: 3.984 kB / 0.6732 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/0.6095, allocations: 155.8 kB / 0.6734 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.6121, allocations: 0.7148 MB / 0.6741 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.6122, allocations: 15.98 kB / 0.6741 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.6186, allocations: 3.158 MB / 0.6772 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6186, allocations: 0 / 0.6772 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.6215, allocations: 1.155 MB / 0.6783 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.6216, allocations: 128.5 kB / 0.6784 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.6217, allocations: 16.52 kB / 0.6784 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.622, allocations: 27.97 kB / 0.6785 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6222, allocations: 63.83 kB / 0.6785 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.6222, allocations: 12.06 kB / 0.6785 GB, free: 11.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000338/0.6226, allocations: 299.1 kB / 0.6788 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6226, allocations: 0 / 0.6788 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.6231, allocations: 143.7 kB / 0.679 GB, free: 11.31 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 () * 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 (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.002814/0.6259, allocations: 1.603 MB / 0.6805 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.6285, allocations: 0.7987 MB / 0.6813 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6285, allocations: 0 / 0.6813 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/0.6308, allocations: 0.6077 MB / 0.6819 GB, free: 8.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.6311, allocations: 29.31 kB / 0.6819 GB, free: 8.219 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.6387, allocations: 3.825 MB / 0.6857 GB, free: 4.332 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.6391, allocations: 0.8302 MB / 0.6865 GB, free: 3.477 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.6393, allocations: 30.97 kB / 0.6865 GB, free: 3.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6395, allocations: 143.4 kB / 0.6866 GB, free: 3.305 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6395, allocations: 0 / 0.6866 GB, free: 3.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.6632, allocations: 10.33 MB / 0.6967 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.6635, allocations: 214.9 kB / 0.6969 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.929, allocations: 0 / 0.6969 GB, free: 8.949 MB / 0.4948 GB (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)