Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_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.001078/0.001078, allocations: 89.3 kB / 16.31 MB, free: 5.621 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.001376/0.001377, allocations: 180.5 kB / 17.21 MB, free: 5.539 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.35/1.35, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.1 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 12 kB / 400.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 59.17 MB / 459.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009116/0.134, allocations: 7.981 MB / 467.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.1384, allocations: 2.132 MB / 469.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008414/0.1393, allocations: 55.62 kB / 469.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.1399, allocations: 210.5 kB / 469.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1416, allocations: 0.6336 MB / 470.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.1424, allocations: 267.7 kB / 470.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.1446, allocations: 1.527 MB / 472.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.1451, allocations: 254.1 kB / 472.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1462, allocations: 469.8 kB / 472.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1474, allocations: 0.6385 MB / 473.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.1475, allocations: 32 kB / 473.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1476, allocations: 36 kB / 473.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.148, allocations: 303.1 kB / 473.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.1483, allocations: 185.2 kB / 474 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.149, allocations: 0.6585 MB / 474.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.149, allocations: 0 / 474.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.149, allocations: 0 / 474.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1491, allocations: 0 / 474.7 MB, free: 7.918 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001994/0.1511, allocations: 1.092 MB / 475.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1511, allocations: 8.031 kB / 475.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.1513, allocations: 114.5 kB / 475.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1515, allocations: 98.88 kB / 476 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1526, allocations: 0.6399 MB / 476.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.1527, allocations: 49.31 kB / 476.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1528, allocations: 56 kB / 476.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.154, allocations: 0.8098 MB / 477.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1541, allocations: 4 kB / 477.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.1541, allocations: 27.98 kB / 477.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/0.1542, allocations: 33.3 kB / 477.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.1551, allocations: 0.6101 MB / 478.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.1587, allocations: 2.645 MB / 480.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.1596, allocations: 0.6104 MB / 481.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.1603, allocations: 376 kB / 481.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1603, allocations: 4.438 kB / 481.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.1609, allocations: 487 kB / 482.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.161, allocations: 0 / 482.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002914/0.1639, allocations: 1.973 MB / 484.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.164, allocations: 247.9 kB / 484.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.1647, allocations: 0.5625 MB / 485.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1647, allocations: 41.64 kB / 485.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.1651, allocations: 407.4 kB / 485.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1652, allocations: 205.1 kB / 485.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1653, allocations: 20.12 kB / 485.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1655, allocations: 382.7 kB / 486.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1659, allocations: 225.9 kB / 486.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.1664, allocations: 453.8 kB / 486.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.1668, allocations: 337.5 kB / 487.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1668, allocations: 0 / 487.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001519/0.1684, allocations: 0.94 MB / 488.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.1684, allocations: 59.41 kB / 488.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1685, allocations: 8.562 kB / 488.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.1688, allocations: 113.6 kB / 488.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.1693, allocations: 143.7 kB / 488.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.1722, allocations: 3.011 MB / 491.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.1726, allocations: 39.98 kB / 491.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.1727, allocations: 55.95 kB / 491.5 MB, free: 6.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004592/0.1732, allocations: 358.6 kB / 491.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.1733, allocations: 75.14 kB / 491.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1744, allocations: 0.778 MB / 492.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1744, allocations: 8 kB / 492.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.1744, allocations: 0 / 492.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1744, allocations: 3.953 kB / 492.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1763, allocations: 1.546 MB / 494.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1764, allocations: 0 / 494.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.1768, allocations: 111.9 kB / 494.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.1769, allocations: 11.92 kB / 494.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.1769, allocations: 19.98 kB / 494.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1769, allocations: 7.953 kB / 494.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1769, allocations: 0 / 494.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1784, allocations: 1.199 MB / 495.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.1786, allocations: 184.2 kB / 495.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.1787, allocations: 19.98 kB / 495.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.179, allocations: 27.98 kB / 495.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.1791, allocations: 48.33 kB / 495.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.1792, allocations: 59.94 kB / 495.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003927/0.1796, allocations: 383 kB / 496.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1796, allocations: 0 / 496.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006415/0.1802, allocations: 180 kB / 496.5 MB, free: 1.012 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * 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.001764/0.182, allocations: 1.779 MB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.1834, allocations: 1.003 MB / 499.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1834, allocations: 9.25 kB / 499.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.184, allocations: 0.4893 MB / 499.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/0.1847, allocations: 143.2 kB / 499.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.1911, allocations: 4.581 MB / 0.4927 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.1918, allocations: 1.013 MB / 0.4936 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.1923, allocations: 157.8 kB / 0.4938 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.1927, allocations: 275.3 kB / 0.4941 GB, free: 7.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1927, allocations: 0 / 0.4941 GB, free: 7.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.4602, allocations: 13.19 MB / 0.5069 GB, free: 55.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.4605, allocations: 224.7 kB / 0.5071 GB, free: 55.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.576, allocations: 0 / 0.5071 GB, free: 55.21 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.mat does not exist to compare? outputFormat=mat