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: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001249/0.001256, allocations: 182.1 kB / 15.98 MB, free: 5.77 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.216/1.216, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.0009313/0.0009313, allocations: 110.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4019/0.4019, allocations: 78.51 MB / 418.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 71.89 kB / 497.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2411, allocations: 68.16 MB / 0.5524 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003035/0.2442, allocations: 3.613 MB / 0.5559 GB, free: 16.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2455, allocations: 1.079 MB / 0.557 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2457, allocations: 4 kB / 0.557 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.246, allocations: 79.5 kB / 0.5571 GB, free: 15.07 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2463, allocations: 135 kB / 0.5572 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.2468, allocations: 323.2 kB / 0.5575 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.2471, allocations: 0.5758 MB / 0.5581 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.2473, allocations: 145 kB / 0.5582 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.2475, allocations: 223 kB / 0.5584 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2477, allocations: 258.7 kB / 0.5587 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.2478, allocations: 28 kB / 0.5587 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2479, allocations: 79.97 kB / 0.5588 GB, free: 13.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.248, allocations: 99.53 kB / 0.5589 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2481, allocations: 242.5 kB / 0.5591 GB, free: 12.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.2485, allocations: 0.6405 MB / 0.5597 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2486, allocations: 4 kB / 0.5597 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2486, allocations: 0 / 0.5597 GB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2486, allocations: 0 / 0.5597 GB, free: 12.34 MB / 378.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.00115/0.2497, allocations: 0.8333 MB / 0.5605 GB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.2498, allocations: 8.031 kB / 0.5605 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.2506, allocations: 172.2 kB / 0.5607 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.251, allocations: 401.9 kB / 0.5611 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.2511, allocations: 74.53 kB / 0.5612 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.2512, allocations: 24 kB / 0.5612 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.2519, allocations: 385.9 kB / 0.5616 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2519, allocations: 4 kB / 0.5616 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2519, allocations: 11.98 kB / 0.5616 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2519, allocations: 8 kB / 0.5616 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.2525, allocations: 330.5 kB / 0.5619 GB, free: 10.02 MB / 378.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.002076/0.2546, allocations: 1.871 MB / 0.5637 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.2554, allocations: 0.8179 MB / 0.5645 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.2558, allocations: 180.8 kB / 0.5647 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2558, allocations: 4 kB / 0.5647 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2559, allocations: 38.56 kB / 0.5647 GB, free: 6.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.2559, allocations: 0 / 0.5647 GB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.004182/0.26, allocations: 1.25 MB / 0.566 GB, free: 5.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.2601, allocations: 55.41 kB / 0.566 GB, free: 5.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.2604, allocations: 426 kB / 0.5664 GB, free: 5.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2605, allocations: 29.7 kB / 0.5664 GB, free: 5.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2606, allocations: 259.9 kB / 0.5667 GB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.2606, allocations: 90.73 kB / 0.5668 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2607, allocations: 65.67 kB / 0.5668 GB, free: 4.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.2608, allocations: 358.7 kB / 0.5672 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.2611, allocations: 180.2 kB / 0.5674 GB, free: 4.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.2615, allocations: 232.9 kB / 0.5676 GB, free: 3.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.2658, allocations: 1.286 MB / 0.5688 GB, free: 2.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2658, allocations: 4 kB / 0.5688 GB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00209/0.2679, allocations: 0.8445 MB / 0.5697 GB, free: 1.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2679, allocations: 8 kB / 0.5697 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2679, allocations: 3.938 kB / 0.5697 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.2698, allocations: 0.5587 MB / 0.5702 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.2707, allocations: 143.8 kB / 0.5704 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.2771, allocations: 2.983 MB / 0.5733 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.2775, allocations: 43.72 kB / 0.5733 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.2775, allocations: 15.98 kB / 0.5733 GB, free: 13.79 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.2778, allocations: 172.7 kB / 0.5735 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.2779, allocations: 51.44 kB / 0.5735 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.2803, allocations: 0.767 MB / 0.5743 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2803, allocations: 3.938 kB / 0.5743 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2803, allocations: 0 / 0.5743 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2803, allocations: 0 / 0.5743 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.2834, allocations: 1.473 MB / 0.5757 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2834, allocations: 4.125 kB / 0.5757 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.2843, allocations: 127.8 kB / 0.5759 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.2869, allocations: 0.629 MB / 0.5765 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.287, allocations: 15.92 kB / 0.5765 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.2934, allocations: 2.94 MB / 0.5794 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2934, allocations: 4 kB / 0.5794 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/0.3113, allocations: 8.631 MB / 0.5878 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3114, allocations: 120.6 kB / 0.5879 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.3115, allocations: 11.94 kB / 0.5879 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3119, allocations: 23.97 kB / 0.5879 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.3121, allocations: 51.91 kB / 0.588 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.3121, allocations: 11.98 kB / 0.588 GB, free: 14.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.3124, allocations: 299.1 kB / 0.5883 GB, free: 13.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.3124, allocations: 4.062 kB / 0.5883 GB, free: 13.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006816/0.3131, allocations: 187.7 kB / 0.5885 GB, free: 13.62 MB / 410.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.3133, allocations: 107.5 kB / 0.5886 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.316, allocations: 0.7519 MB / 0.5893 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.316, allocations: 0 / 0.5893 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.3183, allocations: 0.5644 MB / 0.5899 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3187, allocations: 33.97 kB / 0.5899 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.3238, allocations: 1.753 MB / 0.5916 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3242, allocations: 0.8308 MB / 0.5924 GB, free: 9.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.3244, allocations: 46.88 kB / 0.5925 GB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.3245, allocations: 23.44 kB / 0.5925 GB, free: 9.387 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3245, allocations: 3.938 kB / 0.5925 GB, free: 9.383 MB / 410.7 MB Notification: Performance of Templates: time 0.01465/0.3391, allocations: 9.391 MB / 0.6017 GB, free: 20 kB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)