Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08236/0.08236, allocations: 12.59 MB / 28.23 MB, free: 0.7578 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001233, allocations: 115.4 kB / 31.84 MB, free: 3.883 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 184.5 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4031/0.4031, allocations: 78.51 MB / 419.3 MB, free: 10.75 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003564/0.003565, allocations: 143.8 kB / 0.5554 GB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1107, allocations: 68.12 MB / 0.6219 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004335/0.1151, allocations: 3.442 MB / 0.6252 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.117, allocations: 1.025 MB / 0.6262 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1172, allocations: 4 kB / 0.6262 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1175, allocations: 95.19 kB / 0.6263 GB, free: 9.074 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0003916/0.1179, allocations: 166.7 kB / 0.6265 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.1186, allocations: 358.2 kB / 0.6268 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.1192, allocations: 0.6031 MB / 0.6274 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1195, allocations: 145.2 kB / 0.6276 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1198, allocations: 251 kB / 0.6278 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.1202, allocations: 270.8 kB / 0.6281 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.1203, allocations: 52 kB / 0.6281 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1205, allocations: 107.9 kB / 0.6282 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1206, allocations: 119.5 kB / 0.6283 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.1208, allocations: 270.6 kB / 0.6286 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.1216, allocations: 0.6731 MB / 0.6292 GB, free: 6.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1216, allocations: 0 / 0.6292 GB, free: 6.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1216, allocations: 0 / 0.6292 GB, free: 6.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1216, allocations: 4 kB / 0.6292 GB, free: 6.078 MB / 446.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.001525/0.1231, allocations: 0.8445 MB / 0.6301 GB, free: 5.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1232, allocations: 15.92 kB / 0.6301 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.1233, allocations: 62.73 kB / 0.6301 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.1242, allocations: 184.4 kB / 0.6303 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1248, allocations: 398.3 kB / 0.6307 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.125, allocations: 66.47 kB / 0.6308 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.125, allocations: 28 kB / 0.6308 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008269/0.1259, allocations: 389.9 kB / 0.6312 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1259, allocations: 0 / 0.6312 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1259, allocations: 12 kB / 0.6312 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1259, allocations: 8 kB / 0.6312 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.1267, allocations: 330.5 kB / 0.6315 GB, free: 3.66 MB / 446.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.002824/0.1295, allocations: 1.852 MB / 0.6333 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1306, allocations: 0.82 MB / 0.6341 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.1311, allocations: 184.8 kB / 0.6343 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.1312, allocations: 7.984 kB / 0.6343 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1312, allocations: 34.56 kB / 0.6343 GB, free: 0.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.1312, allocations: 0 / 0.6343 GB, free: 0.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004738/0.1359, allocations: 1.248 MB / 0.6355 GB, free: 15.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.136, allocations: 59.41 kB / 0.6356 GB, free: 15.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.1365, allocations: 433.9 kB / 0.636 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1366, allocations: 25.7 kB / 0.636 GB, free: 14.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1368, allocations: 264.3 kB / 0.6363 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.1369, allocations: 87.22 kB / 0.6364 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.137, allocations: 69.61 kB / 0.6364 GB, free: 14.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1372, allocations: 354.7 kB / 0.6368 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.1376, allocations: 188.2 kB / 0.637 GB, free: 13.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.1381, allocations: 224.9 kB / 0.6372 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/0.143, allocations: 1.302 MB / 0.6384 GB, free: 12.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.143, allocations: 0 / 0.6384 GB, free: 12.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00245/0.1455, allocations: 0.8449 MB / 0.6393 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1455, allocations: 15.92 kB / 0.6393 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1455, allocations: 0 / 0.6393 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.1477, allocations: 0.5587 MB / 0.6398 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.1486, allocations: 143.8 kB / 0.64 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.1559, allocations: 3.201 MB / 0.6431 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.1563, allocations: 51.81 kB / 0.6431 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.1564, allocations: 11.98 kB / 0.6432 GB, free: 7.203 MB / 462.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.0002437/0.1566, allocations: 171.7 kB / 0.6433 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.1567, allocations: 43.72 kB / 0.6434 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.1592, allocations: 0.7708 MB / 0.6441 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1592, allocations: 4.281 kB / 0.6441 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1592, allocations: 0 / 0.6441 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1592, allocations: 0 / 0.6441 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.1625, allocations: 1.486 MB / 0.6456 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1625, allocations: 0 / 0.6456 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.1634, allocations: 135.7 kB / 0.6457 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.1661, allocations: 0.6212 MB / 0.6463 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.1661, allocations: 15.97 kB / 0.6463 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007048/0.1732, allocations: 3.171 MB / 0.6494 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1732, allocations: 0 / 0.6494 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.1762, allocations: 1.054 MB / 0.6504 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1764, allocations: 124.8 kB / 0.6506 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.1765, allocations: 4 kB / 0.6506 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.1768, allocations: 20.05 kB / 0.6506 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.177, allocations: 67.91 kB / 0.6507 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.177, allocations: 8.266 kB / 0.6507 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.1774, allocations: 299.1 kB / 0.6509 GB, free: 14.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1774, allocations: 0 / 0.6509 GB, free: 14.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.1779, allocations: 135.8 kB / 0.6511 GB, free: 14.81 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.002957/0.1809, allocations: 1.513 MB / 0.6526 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.1837, allocations: 0.7751 MB / 0.6533 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1837, allocations: 4.188 kB / 0.6533 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.186, allocations: 0.5689 MB / 0.6539 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1864, allocations: 33.91 kB / 0.6539 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.1971, allocations: 4.81 MB / 0.6586 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.1977, allocations: 0.8233 MB / 0.6594 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1978, allocations: 30.95 kB / 0.6594 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.198, allocations: 151.4 kB / 0.6596 GB, free: 5.918 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.198, allocations: 4 kB / 0.6596 GB, free: 5.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04447/0.2425, allocations: 12.09 MB / 0.6714 GB, free: 9.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.76, allocations: 4.062 kB / 0.6714 GB, free: 9.895 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)