Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_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.001738/0.001738, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008595/0.0008596, allocations: 83.61 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1814/0.1814, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.883e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 56.32 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5794, allocations: 109.2 MB / 0.5627 GB, free: 1.609 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5798, allocations: 91.94 kB / 0.5628 GB, free: 1.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1384/0.7181, allocations: 48.53 MB / 0.6102 GB, free: 412 kB / 443.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7182, allocations: 0 / 0.6102 GB, free: 412 kB / 443.1 MB Notification: Performance of Transformations before backend: time 8.381e-05/0.7183, allocations: 43.92 kB / 0.6102 GB, free: 368 kB / 443.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.003499/0.7218, allocations: 1.584 MB / 0.6118 GB, free: 14.71 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.7218, allocations: 15.97 kB / 0.6118 GB, free: 14.69 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.7246, allocations: 453.3 kB / 0.6122 GB, free: 14.25 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/0.7306, allocations: 2.061 MB / 0.6142 GB, free: 12.14 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.7308, allocations: 51.98 kB / 0.6143 GB, free: 12.09 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.731, allocations: 87.91 kB / 0.6144 GB, free: 12 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002834/0.7338, allocations: 1.533 MB / 0.6159 GB, free: 10.46 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.737, allocations: 2.03 MB / 0.6178 GB, free: 8.281 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/0.7371, allocations: 11.94 kB / 0.6179 GB, free: 8.27 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.7372, allocations: 4 kB / 0.6179 GB, free: 8.266 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/0.7376, allocations: 182.8 kB / 0.618 GB, free: 8.086 MB / 459.1 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.01154/0.7491, allocations: 8.962 MB / 0.6268 GB, free: 14.68 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.7513, allocations: 1.389 MB / 0.6281 GB, free: 13.26 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.7522, allocations: 0.6265 MB / 0.6288 GB, free: 12.63 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.7523, allocations: 17.3 kB / 0.6288 GB, free: 12.61 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.7535, allocations: 0.884 MB / 0.6296 GB, free: 11.68 MB / 475.1 MB Notification: Performance of pre-optimization done (n=142): time 3.477e-06/0.7535, allocations: 0 / 0.6296 GB, free: 11.68 MB / 475.1 MB Notification: Performance of matching and sorting (n=143): time 0.006073/0.7596, allocations: 3.433 MB / 0.633 GB, free: 8.184 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.7598, allocations: 286.4 kB / 0.6333 GB, free: 7.844 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.7608, allocations: 0.7007 MB / 0.6339 GB, free: 7.121 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.7609, allocations: 29.7 kB / 0.634 GB, free: 7.086 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/0.7615, allocations: 0.736 MB / 0.6347 GB, free: 6.336 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.7619, allocations: 477 kB / 0.6351 GB, free: 5.863 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.762, allocations: 0 / 0.6351 GB, free: 5.863 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.7623, allocations: 434.7 kB / 0.6356 GB, free: 5.43 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008826/0.7632, allocations: 0.5817 MB / 0.6361 GB, free: 4.848 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.7644, allocations: 1.105 MB / 0.6372 GB, free: 3.5 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.7657, allocations: 0.8063 MB / 0.638 GB, free: 2.695 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.7657, allocations: 7.953 kB / 0.638 GB, free: 2.688 MB / 475.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004315/0.77, allocations: 2.292 MB / 0.6402 GB, free: 384 kB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.7701, allocations: 71.41 kB / 0.6403 GB, free: 296 kB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2924/1.063, allocations: 1.584 MB / 0.6419 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.064, allocations: 0.5236 MB / 0.6424 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.065, allocations: 331.3 kB / 0.6427 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009211/1.075, allocations: 8.283 MB / 0.6508 GB, free: 119.1 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.076, allocations: 61.77 kB / 0.6508 GB, free: 119.1 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.076, allocations: 97.45 kB / 0.6509 GB, free: 119.1 MB / 475.1 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.0003667/1.077, allocations: 241.7 kB / 0.6512 GB, free: 119 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00286/1.079, allocations: 1.406 MB / 0.6525 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.08, allocations: 123.2 kB / 0.6526 GB, free: 118.9 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/1.083, allocations: 1.521 MB / 0.6541 GB, free: 118.8 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/1.083, allocations: 24.95 kB / 0.6542 GB, free: 118.8 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.083, allocations: 4.438 kB / 0.6542 GB, free: 118.8 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/1.083, allocations: 7.594 kB / 0.6542 GB, free: 118.8 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/1.088, allocations: 2.857 MB / 0.657 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.088, allocations: 3.062 kB / 0.657 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.09, allocations: 311.8 kB / 0.6573 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/1.09, allocations: 6.375 kB / 0.6573 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.09, allocations: 25.73 kB / 0.6573 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/1.09, allocations: 12.22 kB / 0.6573 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.09, allocations: 6.641 kB / 0.6573 GB, free: 118.4 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/1.094, allocations: 2.455 MB / 0.6597 GB, free: 118 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/1.095, allocations: 314.9 kB / 0.66 GB, free: 117.8 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/1.095, allocations: 17.53 kB / 0.66 GB, free: 117.8 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006855/1.096, allocations: 48.62 kB / 0.6601 GB, free: 117.8 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.096, allocations: 77.44 kB / 0.6601 GB, free: 117.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.096, allocations: 82.64 kB / 0.6602 GB, free: 117.8 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0009002/1.097, allocations: 0.5147 MB / 0.6607 GB, free: 117.7 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.097, allocations: 3 kB / 0.6607 GB, free: 117.7 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.002064/1.099, allocations: 406.8 kB / 0.6611 GB, free: 117.7 MB / 475.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) * 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.004415/1.104, allocations: 3.595 MB / 0.6646 GB, free: 116.3 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003917/1.107, allocations: 2.276 MB / 0.6668 GB, free: 115.7 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.108, allocations: 0 / 0.6668 GB, free: 115.7 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.109, allocations: 0.9113 MB / 0.6677 GB, free: 115.6 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.11, allocations: 169 kB / 0.6679 GB, free: 115.5 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/1.115, allocations: 3.171 MB / 0.671 GB, free: 114.9 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/1.116, allocations: 1.499 MB / 0.6725 GB, free: 114.2 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.00116/1.117, allocations: 467.2 kB / 0.6729 GB, free: 114.1 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/1.118, allocations: 0.5676 MB / 0.6735 GB, free: 114.1 MB / 475.1 MB Notification: Performance of SimCode: time 1.393e-06/1.118, allocations: 0 / 0.6735 GB, free: 114.1 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/1.171, allocations: 26.01 MB / 0.6989 GB, free: 112.8 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.171, allocations: 151.7 kB / 0.699 GB, free: 112.6 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/4.278, allocations: 2.156 kB / 0.699 GB, free: 112.6 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.mat does not exist to compare? outputFormat=mat