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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007099/0.007099, allocations: 101.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 239.4 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 184.5 kB / 289.7 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4694/0.4694, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 79.56 kB / 0.5722 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 71.28 MB / 0.6418 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003777/0.1148, allocations: 3.407 MB / 0.6452 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1165, allocations: 1.052 MB / 0.6462 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.1167, allocations: 4 kB / 0.6462 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.117, allocations: 99.19 kB / 0.6463 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.1173, allocations: 190.7 kB / 0.6465 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.118, allocations: 350.9 kB / 0.6468 GB, free: 15 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1185, allocations: 0.6031 MB / 0.6474 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1187, allocations: 148.9 kB / 0.6475 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.119, allocations: 263 kB / 0.6478 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.1193, allocations: 266.8 kB / 0.648 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.1193, allocations: 56 kB / 0.6481 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.1195, allocations: 107.9 kB / 0.6482 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.1196, allocations: 119.5 kB / 0.6483 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1198, allocations: 266.6 kB / 0.6486 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.1204, allocations: 0.6732 MB / 0.6492 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1204, allocations: 0 / 0.6492 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1204, allocations: 0 / 0.6492 GB, free: 12.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1204, allocations: 0 / 0.6492 GB, free: 12.52 MB / 462.1 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.001356/0.1218, allocations: 0.8371 MB / 0.65 GB, free: 11.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1218, allocations: 16.02 kB / 0.65 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.496e-05/0.1219, allocations: 58.73 kB / 0.6501 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.1229, allocations: 172.1 kB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.1234, allocations: 409.9 kB / 0.6507 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.1235, allocations: 62.47 kB / 0.6507 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.1236, allocations: 28 kB / 0.6507 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.1243, allocations: 381.9 kB / 0.6511 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1243, allocations: 0 / 0.6511 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1244, allocations: 15.92 kB / 0.6511 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.1244, allocations: 11.94 kB / 0.6511 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.125, allocations: 330.5 kB / 0.6514 GB, free: 10.12 MB / 462.1 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.00245/0.1275, allocations: 1.852 MB / 0.6533 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.1285, allocations: 0.8108 MB / 0.654 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.1289, allocations: 187.2 kB / 0.6542 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.1289, allocations: 4 kB / 0.6542 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.129, allocations: 30.56 kB / 0.6543 GB, free: 6.969 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 3.947e-06/0.129, allocations: 3.984 kB / 0.6543 GB, free: 6.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004354/0.1333, allocations: 1.248 MB / 0.6555 GB, free: 5.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1334, allocations: 55.41 kB / 0.6555 GB, free: 5.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.1338, allocations: 433.9 kB / 0.6559 GB, free: 5.188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1339, allocations: 29.7 kB / 0.656 GB, free: 5.152 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.134, allocations: 255.9 kB / 0.6562 GB, free: 4.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.1341, allocations: 90.73 kB / 0.6563 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1342, allocations: 73.58 kB / 0.6564 GB, free: 4.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1343, allocations: 358.7 kB / 0.6567 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1347, allocations: 180.2 kB / 0.6569 GB, free: 4.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.1351, allocations: 236.8 kB / 0.6571 GB, free: 3.941 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/0.1397, allocations: 1.286 MB / 0.6584 GB, free: 2.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1398, allocations: 0 / 0.6584 GB, free: 2.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002298/0.1421, allocations: 0.8409 MB / 0.6592 GB, free: 1.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1421, allocations: 11.94 kB / 0.6592 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1421, allocations: 0 / 0.6592 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.1442, allocations: 0.5587 MB / 0.6598 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.145, allocations: 135.9 kB / 0.6599 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/0.1516, allocations: 3.202 MB / 0.663 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.1521, allocations: 51.75 kB / 0.6631 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.1521, allocations: 15.98 kB / 0.6631 GB, free: 13.68 MB / 478.1 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.0002324/0.1524, allocations: 176.3 kB / 0.6632 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.1525, allocations: 39.53 kB / 0.6633 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.1548, allocations: 0.7718 MB / 0.664 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1548, allocations: 0 / 0.664 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1548, allocations: 11.88 kB / 0.664 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1548, allocations: 7.938 kB / 0.6641 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.1577, allocations: 1.465 MB / 0.6655 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1578, allocations: 4 kB / 0.6655 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/0.1586, allocations: 131.7 kB / 0.6656 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.1611, allocations: 0.6288 MB / 0.6662 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.1611, allocations: 11.98 kB / 0.6662 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006377/0.1675, allocations: 3.171 MB / 0.6693 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1675, allocations: 3.984 kB / 0.6693 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.1703, allocations: 1.046 MB / 0.6704 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1704, allocations: 124.7 kB / 0.6705 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.1705, allocations: 8 kB / 0.6705 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.1709, allocations: 23.97 kB / 0.6705 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.1711, allocations: 52.2 kB / 0.6706 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1711, allocations: 11.98 kB / 0.6706 GB, free: 5.727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.1714, allocations: 303.1 kB / 0.6709 GB, free: 5.434 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1714, allocations: 7.938 kB / 0.6709 GB, free: 5.426 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.1719, allocations: 131.8 kB / 0.671 GB, free: 5.297 MB / 478.1 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.002633/0.1746, allocations: 1.514 MB / 0.6725 GB, free: 3.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.1772, allocations: 0.7833 MB / 0.6732 GB, free: 2.957 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1772, allocations: 0 / 0.6732 GB, free: 2.957 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.1793, allocations: 0.5726 MB / 0.6738 GB, free: 2.371 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1797, allocations: 33.91 kB / 0.6738 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009768/0.1895, allocations: 4.771 MB / 0.6785 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1899, allocations: 0.8272 MB / 0.6793 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.1901, allocations: 38.95 kB / 0.6793 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1903, allocations: 151.4 kB / 0.6795 GB, free: 12.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1903, allocations: 0 / 0.6795 GB, free: 12.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.224, allocations: 12.1 MB / 0.6913 GB, free: 472 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 9.422 kB / 0.6913 GB, free: 468 kB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)