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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001453/0.001453, allocations: 104.3 kB / 17.06 MB, free: 6.027 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.001628/0.001629, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 37.98 MB / 309.2 MB, free: 5.973 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.89 kB / 431.4 MB, free: 16.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09611, allocations: 55.24 MB / 486.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01023/0.1064, allocations: 9.069 MB / 495.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.1121, allocations: 3.428 MB / 499.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008041/0.113, allocations: 35.81 kB / 499.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.1157, allocations: 1.042 MB / 0.4885 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.1182, allocations: 1.097 MB / 0.4895 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1199, allocations: 0.6899 MB / 0.4902 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.1234, allocations: 2.386 MB / 0.4925 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.1247, allocations: 0.819 MB / 0.4933 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1265, allocations: 0.9963 MB / 0.4943 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.1288, allocations: 1.347 MB / 0.4956 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00047/0.1293, allocations: 128 kB / 0.4957 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1307, allocations: 0.5695 MB / 0.4963 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1318, allocations: 0.9314 MB / 0.4972 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.1332, allocations: 0.8979 MB / 0.4981 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.136, allocations: 2.344 MB / 0.5004 GB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.136, allocations: 4 kB / 0.5004 GB, free: 15.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.136, allocations: 0 / 0.5004 GB, free: 15.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.018e-05/0.1361, allocations: 0 / 0.5004 GB, free: 15.08 MB / 398.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.003987/0.1401, allocations: 2.007 MB / 0.5023 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1401, allocations: 11.89 kB / 0.5024 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003325/0.1405, allocations: 240.8 kB / 0.5026 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.1423, allocations: 358.3 kB / 0.5029 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.1444, allocations: 1.083 MB / 0.504 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.1445, allocations: 103.1 kB / 0.5041 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.1448, allocations: 163.8 kB / 0.5042 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.1481, allocations: 2.328 MB / 0.5065 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.1482, allocations: 15.94 kB / 0.5065 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1483, allocations: 63.95 kB / 0.5066 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/0.1488, allocations: 222.8 kB / 0.5068 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.1517, allocations: 1.842 MB / 0.5086 GB, free: 6.383 MB / 398.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.01099/0.1627, allocations: 9.52 MB / 0.5179 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.1648, allocations: 1.548 MB / 0.5194 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.1656, allocations: 0.602 MB / 0.52 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.1657, allocations: 20.98 kB / 0.52 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.1668, allocations: 0.8528 MB / 0.5208 GB, free: 9.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 5.761e-06/0.1668, allocations: 3.984 kB / 0.5208 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.005819/0.1726, allocations: 4.015 MB / 0.5248 GB, free: 5.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.1728, allocations: 286.3 kB / 0.525 GB, free: 4.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.1738, allocations: 0.9108 MB / 0.5259 GB, free: 3.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.1738, allocations: 53.69 kB / 0.526 GB, free: 3.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.1744, allocations: 0.7628 MB / 0.5267 GB, free: 2.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.1747, allocations: 449.7 kB / 0.5272 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.1751, allocations: 331.2 kB / 0.5275 GB, free: 2.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1752, allocations: 362 kB / 0.5278 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/0.1761, allocations: 0.5777 MB / 0.5284 GB, free: 1.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1969/0.373, allocations: 1.173 MB / 0.5295 GB, free: 50.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.3753, allocations: 2.003 MB / 0.5315 GB, free: 49.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3753, allocations: 6.109 kB / 0.5315 GB, free: 49.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003997/0.3793, allocations: 2.489 MB / 0.5339 GB, free: 48.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.3794, allocations: 68.12 kB / 0.534 GB, free: 48.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002605/0.382, allocations: 1.565 MB / 0.5355 GB, free: 48.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.3835, allocations: 0.5449 MB / 0.536 GB, free: 47.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.3845, allocations: 327.7 kB / 0.5364 GB, free: 47.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.393, allocations: 9.452 MB / 0.5456 GB, free: 40.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3941, allocations: 71.53 kB / 0.5457 GB, free: 40.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.3943, allocations: 98.58 kB / 0.5458 GB, free: 40.82 MB / 414.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.0008792/0.3952, allocations: 0.6004 MB / 0.5463 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.3954, allocations: 125.1 kB / 0.5465 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.3975, allocations: 1.537 MB / 0.548 GB, free: 39.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3976, allocations: 15.94 kB / 0.548 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3976, allocations: 2.5 kB / 0.548 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3976, allocations: 6.938 kB / 0.548 GB, free: 39.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.402, allocations: 3.072 MB / 0.551 GB, free: 38.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.402, allocations: 1.125 kB / 0.551 GB, free: 38.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.4033, allocations: 299.8 kB / 0.5513 GB, free: 38.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.4034, allocations: 6.344 kB / 0.5513 GB, free: 38.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.4034, allocations: 41.8 kB / 0.5513 GB, free: 38.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.4035, allocations: 7.328 kB / 0.5513 GB, free: 38.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4035, allocations: 2.281 kB / 0.5513 GB, free: 38.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.4062, allocations: 2.322 MB / 0.5536 GB, free: 37.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.4067, allocations: 290.9 kB / 0.5539 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4068, allocations: 42.89 kB / 0.5539 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.4073, allocations: 43.27 kB / 0.554 GB, free: 37.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.4075, allocations: 79.66 kB / 0.554 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.4076, allocations: 79.34 kB / 0.5541 GB, free: 37.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006352/0.4082, allocations: 0.5972 MB / 0.5547 GB, free: 37.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4082, allocations: 0 / 0.5547 GB, free: 37.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00129/0.4095, allocations: 426.4 kB / 0.5551 GB, free: 36.97 MB / 414.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.002572/0.4121, allocations: 2.908 MB / 0.5579 GB, free: 35.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.4149, allocations: 2.329 MB / 0.5602 GB, free: 34.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.415, allocations: 4.125 kB / 0.5602 GB, free: 34.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.4158, allocations: 0.8714 MB / 0.5611 GB, free: 33.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009666/0.4168, allocations: 233.8 kB / 0.5613 GB, free: 33.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.4332, allocations: 13.08 MB / 0.5741 GB, free: 19.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.4345, allocations: 1.461 MB / 0.5755 GB, free: 18.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4355, allocations: 466.3 kB / 0.5759 GB, free: 17.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.4362, allocations: 0.5664 MB / 0.5765 GB, free: 17.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.104e-06/0.4362, allocations: 0 / 0.5765 GB, free: 17.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.4924, allocations: 27.74 MB / 0.6036 GB, free: 5.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.8, allocations: 8.812 kB / 0.6036 GB, free: 5.547 MB / 430.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)