Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002325/0.002325, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 82.64 kB / 261.7 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2605/0.2605, allocations: 37.99 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.024e-05, allocations: 4 kB / 409.9 MB, free: 35.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 56.32 MB / 466.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6015/0.7125, allocations: 109.2 MB / 0.562 GB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.7129, allocations: 88.02 kB / 0.5621 GB, free: 2.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2328/0.9457, allocations: 48.53 MB / 0.6095 GB, free: 8.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9458, allocations: 0 / 0.6095 GB, free: 8.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001657/0.946, allocations: 36 kB / 0.6095 GB, free: 8.918 MB / 410.7 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.006265/0.9523, allocations: 1.588 MB / 0.6111 GB, free: 7.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.9523, allocations: 11.97 kB / 0.6111 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.9574, allocations: 452.8 kB / 0.6115 GB, free: 6.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008715/0.9661, allocations: 2.063 MB / 0.6135 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.9663, allocations: 48 kB / 0.6136 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.9667, allocations: 85.97 kB / 0.6136 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005069/0.9717, allocations: 1.533 MB / 0.6151 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/0.9775, allocations: 2.026 MB / 0.6171 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.296e-05/0.9777, allocations: 15.94 kB / 0.6171 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.9779, allocations: 8 kB / 0.6171 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007143/0.9786, allocations: 186.8 kB / 0.6173 GB, free: 1.113 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01853/0.9972, allocations: 8.958 MB / 0.6261 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/1.001, allocations: 1.393 MB / 0.6274 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/1.002, allocations: 0.6288 MB / 0.628 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/1.002, allocations: 21.28 kB / 0.6281 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/1.004, allocations: 0.8801 MB / 0.6289 GB, free: 4.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 4.218e-06/1.004, allocations: 0 / 0.6289 GB, free: 4.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.008962/1.013, allocations: 3.429 MB / 0.6323 GB, free: 1.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/1.014, allocations: 286.3 kB / 0.6325 GB, free: 0.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.015, allocations: 0.7007 MB / 0.6332 GB, free: 156 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/1.015, allocations: 29.7 kB / 0.6333 GB, free: 120 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/1.016, allocations: 0.758 MB / 0.634 GB, free: 15.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/1.017, allocations: 477 kB / 0.6345 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/1.017, allocations: 0 / 0.6345 GB, free: 14.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/1.017, allocations: 386.8 kB / 0.6348 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.019, allocations: 0.5779 MB / 0.6354 GB, free: 13.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.02, allocations: 1.105 MB / 0.6365 GB, free: 12.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/1.023, allocations: 0.8024 MB / 0.6373 GB, free: 11.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/1.023, allocations: 7.953 kB / 0.6373 GB, free: 11.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007031/1.03, allocations: 2.241 MB / 0.6394 GB, free: 9.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/1.03, allocations: 71.41 kB / 0.6395 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005375/1.035, allocations: 1.593 MB / 0.6411 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/1.038, allocations: 0.5267 MB / 0.6416 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.041, allocations: 331.4 kB / 0.6419 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/1.056, allocations: 8.299 MB / 0.65 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.058, allocations: 63.84 kB / 0.6501 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/1.058, allocations: 100 kB / 0.6502 GB, free: 14.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(3,77.8%) 10,(2,100.0%) 12,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005084/1.058, allocations: 233.5 kB / 0.6504 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004093/1.063, allocations: 1.397 MB / 0.6518 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/1.063, allocations: 126.6 kB / 0.6519 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/1.067, allocations: 1.528 MB / 0.6534 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/1.068, allocations: 20 kB / 0.6534 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.068, allocations: 0 / 0.6534 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/1.068, allocations: 11.91 kB / 0.6534 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007824/1.076, allocations: 2.864 MB / 0.6562 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.076, allocations: 0 / 0.6562 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/1.078, allocations: 307.6 kB / 0.6565 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/1.078, allocations: 8 kB / 0.6565 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.079, allocations: 32.05 kB / 0.6565 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/1.079, allocations: 8 kB / 0.6565 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.079, allocations: 4 kB / 0.6565 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.084, allocations: 2.456 MB / 0.6589 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.086, allocations: 311.5 kB / 0.6592 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.086, allocations: 15.98 kB / 0.6592 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.087, allocations: 43.94 kB / 0.6593 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.087, allocations: 81.09 kB / 0.6594 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.087, allocations: 79.92 kB / 0.6594 GB, free: 4.324 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001074/1.089, allocations: 0.5115 MB / 0.6599 GB, free: 3.801 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.089, allocations: 0 / 0.6599 GB, free: 3.801 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002244/1.091, allocations: 407.9 kB / 0.6603 GB, free: 3.402 MB / 458.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006602/1.097, allocations: 3.605 MB / 0.6638 GB, free: 15.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005391/1.103, allocations: 2.272 MB / 0.6661 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.103, allocations: 4.25 kB / 0.6661 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/1.105, allocations: 0.9095 MB / 0.667 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.107, allocations: 160.1 kB / 0.6671 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/1.116, allocations: 3.314 MB / 0.6704 GB, free: 8.906 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.118, allocations: 1.498 MB / 0.6718 GB, free: 7.371 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.119, allocations: 0.5813 MB / 0.6724 GB, free: 6.789 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/1.119, allocations: 3.938 kB / 0.6724 GB, free: 6.785 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.59/4.71, allocations: 35.09 MB / 0.7067 GB, free: 134.9 MB / 490.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)