Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) 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(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",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.001308/0.001308, allocations: 108.1 kB / 16.92 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.322/1.322, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1759/0.1759, allocations: 38.02 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 61.05 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 58.07 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00976/0.1112, allocations: 9.08 MB / 466 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.1171, allocations: 3.357 MB / 469.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.1184, allocations: 39.75 kB / 469.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.1215, allocations: 1.049 MB / 470.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.1241, allocations: 1.089 MB / 471.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.1264, allocations: 0.6899 MB / 472.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.1299, allocations: 2.39 MB / 474.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.1313, allocations: 0.819 MB / 475.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.1334, allocations: 0.9846 MB / 476.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.1356, allocations: 1.336 MB / 477.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005327/0.1362, allocations: 132 kB / 477.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1377, allocations: 0.5734 MB / 478.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.1392, allocations: 0.9314 MB / 479.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.1415, allocations: 0.8979 MB / 480.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.1449, allocations: 2.294 MB / 482.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1449, allocations: 4 kB / 482.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1449, allocations: 0 / 482.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001299/0.1451, allocations: 0 / 482.6 MB, free: 14.19 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004965/0.15, allocations: 2.011 MB / 484.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1501, allocations: 11.89 kB / 484.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00042/0.1505, allocations: 240.8 kB / 484.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.1525, allocations: 362.2 kB / 485.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.1543, allocations: 1.024 MB / 486.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.1543, allocations: 107.1 kB / 486.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.1547, allocations: 167.8 kB / 486.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.158, allocations: 2.324 MB / 488.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.1581, allocations: 11.94 kB / 488.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.1583, allocations: 63.98 kB / 488.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005142/0.1588, allocations: 218.8 kB / 489.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.1616, allocations: 1.85 MB / 491 MB, free: 5.531 MB / 366.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.0111/0.1727, allocations: 9.571 MB / 0.4888 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.175, allocations: 1.552 MB / 0.4903 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00085/0.1758, allocations: 0.6029 MB / 0.4909 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.272e-05/0.1759, allocations: 24.97 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.177, allocations: 0.8606 MB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.177, allocations: 0 / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006029/0.1831, allocations: 4.011 MB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1832, allocations: 290.6 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.1845, allocations: 0.9107 MB / 0.4969 GB, free: 2.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/0.1846, allocations: 53.7 kB / 0.4969 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.1852, allocations: 0.7628 MB / 0.4977 GB, free: 2.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.1855, allocations: 445.8 kB / 0.4981 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.186, allocations: 331.2 kB / 0.4984 GB, free: 1.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1861, allocations: 357.9 kB / 0.4988 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.187, allocations: 0.5778 MB / 0.4993 GB, free: 384 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.1882, allocations: 1.174 MB / 0.5005 GB, free: 14.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.1906, allocations: 2.001 MB / 0.5024 GB, free: 12.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.1906, allocations: 4 kB / 0.5024 GB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004441/0.195, allocations: 2.493 MB / 0.5049 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.1951, allocations: 75.39 kB / 0.5049 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002755/0.1979, allocations: 1.569 MB / 0.5065 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.1994, allocations: 0.5451 MB / 0.507 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.2005, allocations: 331.6 kB / 0.5073 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2045/0.405, allocations: 9.45 MB / 0.5165 GB, free: 67.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4062, allocations: 74.97 kB / 0.5166 GB, free: 67.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.4066, allocations: 105.7 kB / 0.5167 GB, free: 67.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.4082, allocations: 0.5994 MB / 0.5173 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.4087, allocations: 124.2 kB / 0.5174 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.412, allocations: 1.536 MB / 0.5189 GB, free: 66.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.412, allocations: 13.06 kB / 0.5189 GB, free: 66.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4121, allocations: 1.781 kB / 0.5189 GB, free: 66.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.4121, allocations: 13.41 kB / 0.519 GB, free: 66.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.4174, allocations: 3.071 MB / 0.5219 GB, free: 65.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4174, allocations: 2.188 kB / 0.522 GB, free: 65.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.4187, allocations: 295.8 kB / 0.5222 GB, free: 65.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.4188, allocations: 8.562 kB / 0.5222 GB, free: 65.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4189, allocations: 40.83 kB / 0.5223 GB, free: 65.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.4189, allocations: 8.875 kB / 0.5223 GB, free: 65.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4189, allocations: 2.25 kB / 0.5223 GB, free: 65.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.4221, allocations: 2.324 MB / 0.5246 GB, free: 64.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.4228, allocations: 288.8 kB / 0.5248 GB, free: 64.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.423, allocations: 34.31 kB / 0.5249 GB, free: 64.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.4237, allocations: 39.77 kB / 0.5249 GB, free: 64.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.4238, allocations: 83.52 kB / 0.525 GB, free: 64.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.424, allocations: 82.67 kB / 0.5251 GB, free: 64.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4251, allocations: 0.5985 MB / 0.5256 GB, free: 64.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4251, allocations: 4.719 kB / 0.5257 GB, free: 64.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001609/0.4267, allocations: 421.3 kB / 0.5261 GB, free: 64.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003311/0.43, allocations: 2.914 MB / 0.5289 GB, free: 62.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005531/0.4356, allocations: 2.993 MB / 0.5318 GB, free: 61.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.4356, allocations: 3.875 kB / 0.5318 GB, free: 61.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.4367, allocations: 0.8774 MB / 0.5327 GB, free: 61.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.4382, allocations: 218 kB / 0.5329 GB, free: 60.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.4562, allocations: 13.62 MB / 0.5462 GB, free: 52.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009543/0.4572, allocations: 1.456 MB / 0.5476 GB, free: 50.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4583, allocations: 468.7 kB / 0.5481 GB, free: 50.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.4589, allocations: 0.5657 MB / 0.5486 GB, free: 49.64 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4589, allocations: 0 / 0.5486 GB, free: 49.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.5026, allocations: 26.77 MB / 0.5748 GB, free: 23.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.71, allocations: 8.953 kB / 0.5748 GB, free: 23.05 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)