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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006191/0.006191, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001451/0.001451, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4445/0.4445, allocations: 78.53 MB / 418.4 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001662, allocations: 75.88 kB / 0.5531 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3194, allocations: 68.18 MB / 0.6197 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004402/0.3238, allocations: 3.385 MB / 0.623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.3263, allocations: 1.046 MB / 0.624 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.3267, allocations: 6.688 kB / 0.624 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.3272, allocations: 101.1 kB / 0.6241 GB, free: 5.582 MB / 430.1 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.0005067/0.3277, allocations: 164.5 kB / 0.6243 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.3284, allocations: 355.3 kB / 0.6246 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.3289, allocations: 0.607 MB / 0.6252 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.3291, allocations: 152.8 kB / 0.6254 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3294, allocations: 251 kB / 0.6256 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3297, allocations: 266.8 kB / 0.6258 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.3297, allocations: 52 kB / 0.6259 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3299, allocations: 104 kB / 0.626 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.33, allocations: 119.5 kB / 0.6261 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3302, allocations: 266.6 kB / 0.6264 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.3307, allocations: 0.668 MB / 0.627 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3307, allocations: 7.938 kB / 0.627 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3307, allocations: 3.984 kB / 0.627 GB, free: 2.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3308, allocations: 0 / 0.627 GB, free: 2.613 MB / 430.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.001273/0.332, allocations: 0.837 MB / 0.6278 GB, free: 1.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3321, allocations: 8.031 kB / 0.6279 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.3322, allocations: 70.72 kB / 0.6279 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009265/0.3331, allocations: 172.2 kB / 0.6281 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.3336, allocations: 401.9 kB / 0.6285 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3338, allocations: 58.48 kB / 0.6285 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.3338, allocations: 28 kB / 0.6285 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.3346, allocations: 389.9 kB / 0.6289 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3346, allocations: 3.984 kB / 0.6289 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3347, allocations: 12 kB / 0.6289 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3347, allocations: 8 kB / 0.6289 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.3353, allocations: 326.5 kB / 0.6293 GB, free: 232 kB / 430.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.002786/0.3381, allocations: 1.856 MB / 0.6311 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3392, allocations: 0.8143 MB / 0.6319 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.3397, allocations: 195.2 kB / 0.632 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.3398, allocations: 4 kB / 0.6321 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3398, allocations: 30.56 kB / 0.6321 GB, free: 13.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.615e-06/0.3398, allocations: 4 kB / 0.6321 GB, free: 13.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004944/0.3447, allocations: 1.244 MB / 0.6333 GB, free: 11.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3448, allocations: 55.39 kB / 0.6334 GB, free: 11.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.3453, allocations: 430 kB / 0.6338 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.3454, allocations: 29.7 kB / 0.6338 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3455, allocations: 259.9 kB / 0.634 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.3456, allocations: 90.73 kB / 0.6341 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3458, allocations: 65.59 kB / 0.6342 GB, free: 10.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3459, allocations: 358.7 kB / 0.6345 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.3463, allocations: 184.2 kB / 0.6347 GB, free: 10.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.3468, allocations: 229.1 kB / 0.6349 GB, free: 10.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.3521, allocations: 1.294 MB / 0.6362 GB, free: 8.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3522, allocations: 0 / 0.6362 GB, free: 8.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002721/0.3549, allocations: 0.8409 MB / 0.637 GB, free: 7.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.3549, allocations: 7.938 kB / 0.637 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.355, allocations: 7.938 kB / 0.637 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.3574, allocations: 0.5626 MB / 0.6376 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.3583, allocations: 139.8 kB / 0.6377 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/0.3661, allocations: 3.198 MB / 0.6408 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.3667, allocations: 43.64 kB / 0.6409 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.3668, allocations: 19.97 kB / 0.6409 GB, free: 3.777 MB / 446.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.0003046/0.3671, allocations: 170.1 kB / 0.6411 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3672, allocations: 39.66 kB / 0.6411 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.3698, allocations: 0.7754 MB / 0.6418 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3699, allocations: 4 kB / 0.6419 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3699, allocations: 4 kB / 0.6419 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3699, allocations: 0 / 0.6419 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.3735, allocations: 1.48 MB / 0.6433 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3736, allocations: 4 kB / 0.6433 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.3745, allocations: 123.8 kB / 0.6434 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.3774, allocations: 0.6288 MB / 0.644 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.3775, allocations: 15.98 kB / 0.6441 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.3848, allocations: 3.177 MB / 0.6472 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3849, allocations: 0 / 0.6472 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.3881, allocations: 1.042 MB / 0.6482 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.3883, allocations: 120.7 kB / 0.6483 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.3884, allocations: 8 kB / 0.6483 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.3887, allocations: 23.97 kB / 0.6483 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.3889, allocations: 59.69 kB / 0.6484 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.389, allocations: 12.05 kB / 0.6484 GB, free: 11.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003997/0.3894, allocations: 303.1 kB / 0.6487 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3894, allocations: 0 / 0.6487 GB, free: 11.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00062/0.39, allocations: 135.7 kB / 0.6488 GB, free: 11.4 MB / 462.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.003095/0.3931, allocations: 1.51 MB / 0.6503 GB, free: 9.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.3961, allocations: 0.7561 MB / 0.651 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3961, allocations: 0 / 0.651 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.3985, allocations: 0.5726 MB / 0.6516 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.399, allocations: 47.42 kB / 0.6516 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.4097, allocations: 4.79 MB / 0.6563 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4102, allocations: 0.8155 MB / 0.6571 GB, free: 2.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.4103, allocations: 34.97 kB / 0.6571 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.4106, allocations: 155.4 kB / 0.6573 GB, free: 2.531 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4106, allocations: 0 / 0.6573 GB, free: 2.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.4477, allocations: 12.42 MB / 0.6694 GB, free: 6.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 19.17 kB / 0.6694 GB, free: 6.238 MB / 478.1 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/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)