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.001416/0.001416, allocations: 175.1 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.287/1.287, 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.0008286/0.0008287, allocations: 93.83 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4267/0.4267, allocations: 78.04 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.413e-05, allocations: 8 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3753, allocations: 69.35 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5143, allocations: 93.92 MB / 0.6398 GB, free: 6.484 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5146, allocations: 75.95 kB / 0.6398 GB, free: 6.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02761/0.5422, allocations: 10.03 MB / 0.6496 GB, free: 12.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5423, allocations: 4 kB / 0.6496 GB, free: 12.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.5423, allocations: 11.94 kB / 0.6496 GB, free: 12.28 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.001204/0.5435, allocations: 0.7357 MB / 0.6504 GB, free: 11.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5435, allocations: 11.97 kB / 0.6504 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.5436, allocations: 66.53 kB / 0.6504 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.5442, allocations: 131.2 kB / 0.6506 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.5448, allocations: 381.7 kB / 0.6509 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5449, allocations: 62.47 kB / 0.651 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.545, allocations: 24 kB / 0.651 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.5456, allocations: 336 kB / 0.6513 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5456, allocations: 3.953 kB / 0.6513 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.5457, allocations: 12 kB / 0.6514 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.5457, allocations: 8 kB / 0.6514 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.5461, allocations: 287.1 kB / 0.6516 GB, free: 10.14 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.002785/0.5489, allocations: 2.031 MB / 0.6536 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.5496, allocations: 0.7543 MB / 0.6544 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5499, allocations: 148.8 kB / 0.6545 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.5499, allocations: 7.984 kB / 0.6545 GB, free: 6.914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5499, allocations: 38.56 kB / 0.6545 GB, free: 6.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.5499, allocations: 0 / 0.6545 GB, free: 6.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001885/0.5518, allocations: 0.6859 MB / 0.6552 GB, free: 6.172 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.5519, allocations: 55.34 kB / 0.6553 GB, free: 6.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.5523, allocations: 375.2 kB / 0.6556 GB, free: 5.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.5523, allocations: 33.64 kB / 0.6557 GB, free: 5.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5525, allocations: 263.6 kB / 0.6559 GB, free: 5.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.5526, allocations: 82.75 kB / 0.656 GB, free: 5.348 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.5526, allocations: 12 kB / 0.656 GB, free: 5.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5527, allocations: 350.8 kB / 0.6563 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5529, allocations: 140.3 kB / 0.6565 GB, free: 4.844 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.5532, allocations: 189 kB / 0.6566 GB, free: 4.641 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.5535, allocations: 148.9 kB / 0.6568 GB, free: 4.496 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5535, allocations: 0 / 0.6568 GB, free: 4.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001945/0.5555, allocations: 0.7822 MB / 0.6575 GB, free: 3.703 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5555, allocations: 15.94 kB / 0.6576 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5555, allocations: 4 kB / 0.6576 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.5576, allocations: 0.5549 MB / 0.6581 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.5585, allocations: 171.8 kB / 0.6583 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.5642, allocations: 2.791 MB / 0.661 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.5647, allocations: 51.83 kB / 0.661 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.5647, allocations: 11.94 kB / 0.6611 GB, free: 15.98 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.0001402/0.5649, allocations: 129.3 kB / 0.6612 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.565, allocations: 47.39 kB / 0.6612 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.567, allocations: 0.7191 MB / 0.6619 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.567, allocations: 4 kB / 0.6619 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.567, allocations: 0 / 0.6619 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.567, allocations: 0 / 0.6619 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.5697, allocations: 1.419 MB / 0.6633 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5697, allocations: 0 / 0.6633 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/0.5707, allocations: 155.8 kB / 0.6635 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.5731, allocations: 0.6604 MB / 0.6641 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.5732, allocations: 4 kB / 0.6641 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/0.5788, allocations: 2.752 MB / 0.6668 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5789, allocations: 0 / 0.6668 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.5811, allocations: 0.9691 MB / 0.6677 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.5813, allocations: 120.5 kB / 0.6679 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.5813, allocations: 11.98 kB / 0.6679 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5817, allocations: 27.98 kB / 0.6679 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5819, allocations: 55.89 kB / 0.668 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.5819, allocations: 20.05 kB / 0.668 GB, free: 8.625 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003414/0.5823, allocations: 289.2 kB / 0.6683 GB, free: 8.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5823, allocations: 0 / 0.6683 GB, free: 8.344 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.5828, allocations: 135.8 kB / 0.6684 GB, free: 8.211 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.002428/0.5853, allocations: 1.459 MB / 0.6698 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.5878, allocations: 0.7244 MB / 0.6705 GB, free: 5.984 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5878, allocations: 0 / 0.6705 GB, free: 5.984 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.5898, allocations: 0.5529 MB / 0.6711 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.5902, allocations: 26.77 kB / 0.6711 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.5935, allocations: 0.8418 MB / 0.6719 GB, free: 4.516 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.5939, allocations: 0.8302 MB / 0.6727 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.594, allocations: 34.89 kB / 0.6727 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.5943, allocations: 147.4 kB / 0.6729 GB, free: 3.48 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5943, allocations: 0 / 0.6729 GB, free: 3.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2936/0.8879, allocations: 10.31 MB / 0.683 GB, free: 115.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.888, allocations: 190.2 kB / 0.6831 GB, free: 115.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/3.046, allocations: 0 / 0.6831 GB, free: 115.7 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)