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: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 174.6 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.341/1.341, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008951/0.0008951, allocations: 90.3 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.4441/0.4441, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.088e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3714, allocations: 69.51 MB / 0.5491 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.488, allocations: 94.56 MB / 0.6415 GB, free: 5.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4882, allocations: 79.95 kB / 0.6415 GB, free: 5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.5168, allocations: 10.11 MB / 0.6514 GB, free: 10.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5168, allocations: 0 / 0.6514 GB, free: 10.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.5169, allocations: 8 kB / 0.6514 GB, free: 10.8 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.001521/0.5184, allocations: 0.7357 MB / 0.6521 GB, free: 10.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5185, allocations: 15.97 kB / 0.6521 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/0.5193, allocations: 131.3 kB / 0.6523 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.5202, allocations: 369.7 kB / 0.6526 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.5203, allocations: 62.47 kB / 0.6527 GB, free: 9.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.5204, allocations: 28 kB / 0.6527 GB, free: 9.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.5211, allocations: 340 kB / 0.653 GB, free: 9.035 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5211, allocations: 7.938 kB / 0.653 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.5211, allocations: 11.95 kB / 0.6531 GB, free: 9.016 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5211, allocations: 8 kB / 0.6531 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.5217, allocations: 287.1 kB / 0.6533 GB, free: 8.727 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.003313/0.525, allocations: 2.019 MB / 0.6553 GB, free: 6.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.5258, allocations: 0.7631 MB / 0.656 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.526, allocations: 144.8 kB / 0.6562 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.5261, allocations: 4 kB / 0.6562 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.5261, allocations: 30.56 kB / 0.6562 GB, free: 5.477 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.5261, allocations: 0 / 0.6562 GB, free: 5.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002038/0.5281, allocations: 0.682 MB / 0.6569 GB, free: 4.785 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.5282, allocations: 59.41 kB / 0.6569 GB, free: 4.715 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.5286, allocations: 371.2 kB / 0.6573 GB, free: 4.344 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.5287, allocations: 33.7 kB / 0.6573 GB, free: 4.305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.5289, allocations: 263.5 kB / 0.6576 GB, free: 4.043 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.529, allocations: 90.73 kB / 0.6577 GB, free: 3.953 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.529, allocations: 7.938 kB / 0.6577 GB, free: 3.945 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5292, allocations: 362.8 kB / 0.658 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5294, allocations: 144.1 kB / 0.6582 GB, free: 3.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.5297, allocations: 185.2 kB / 0.6583 GB, free: 3.238 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.53, allocations: 148.9 kB / 0.6585 GB, free: 3.094 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.53, allocations: 0 / 0.6585 GB, free: 3.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002016/0.532, allocations: 0.7862 MB / 0.6592 GB, free: 2.297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.532, allocations: 7.953 kB / 0.6593 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5321, allocations: 0 / 0.6593 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.5341, allocations: 0.5705 MB / 0.6598 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.535, allocations: 171.9 kB / 0.66 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.5408, allocations: 2.78 MB / 0.6627 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.5413, allocations: 51.78 kB / 0.6627 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.5414, allocations: 15.98 kB / 0.6628 GB, free: 14.57 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.0001414/0.5415, allocations: 131.5 kB / 0.6629 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5416, allocations: 47.39 kB / 0.6629 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5436, allocations: 0.7152 MB / 0.6636 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5437, allocations: 4 kB / 0.6636 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.5437, allocations: 128 / 0.6636 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5437, allocations: 7.984 kB / 0.6636 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.5464, allocations: 1.419 MB / 0.665 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5465, allocations: 0 / 0.665 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.5474, allocations: 163.8 kB / 0.6652 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.5499, allocations: 0.6445 MB / 0.6658 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.5499, allocations: 11.98 kB / 0.6658 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.5556, allocations: 2.753 MB / 0.6685 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5556, allocations: 4 kB / 0.6685 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.5579, allocations: 0.9534 MB / 0.6694 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.5581, allocations: 128.5 kB / 0.6696 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.5582, allocations: 11.95 kB / 0.6696 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.5586, allocations: 32.03 kB / 0.6696 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.5587, allocations: 55.91 kB / 0.6697 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.5588, allocations: 11.98 kB / 0.6697 GB, free: 7.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.5592, allocations: 293.2 kB / 0.6699 GB, free: 6.945 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5592, allocations: 0 / 0.6699 GB, free: 6.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.5597, allocations: 139.8 kB / 0.6701 GB, free: 6.809 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.0002041/0.5599, allocations: 115.2 kB / 0.6702 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.5624, allocations: 0.7203 MB / 0.6709 GB, free: 5.949 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5624, allocations: 0 / 0.6709 GB, free: 5.949 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.5645, allocations: 0.5607 MB / 0.6714 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.5648, allocations: 26.95 kB / 0.6715 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.5679, allocations: 0.7619 MB / 0.6722 GB, free: 4.566 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5683, allocations: 0.8301 MB / 0.673 GB, free: 3.707 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.5685, allocations: 26.98 kB / 0.673 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.5685, allocations: 27.36 kB / 0.6731 GB, free: 3.656 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5685, allocations: 0 / 0.6731 GB, free: 3.656 MB / 490.7 MB Notification: Performance of Templates: time 0.3002/0.8688, allocations: 6.342 MB / 0.6793 GB, free: 115.5 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)