Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",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.001034/0.001034, allocations: 86.55 kB / 16.31 MB, free: 6.449 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.00132/0.00132, allocations: 179.9 kB / 17.21 MB, free: 6.32 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.375/1.375, allocations: 223.2 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1859/0.1859, allocations: 38.09 MB / 330.4 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 8 kB / 400.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 59.16 MB / 459.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01268/0.1337, allocations: 8.567 MB / 467.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009423/0.1432, allocations: 3.247 MB / 471.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.1452, allocations: 55.62 kB / 471.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.1469, allocations: 258.1 kB / 471.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.1516, allocations: 0.9181 MB / 472.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.155, allocations: 0.5887 MB / 473 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005582/0.1606, allocations: 2.495 MB / 475.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.1643, allocations: 1.027 MB / 476.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.1667, allocations: 0.6768 MB / 477.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003329/0.1701, allocations: 1.13 MB / 478.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003452/0.1704, allocations: 56 kB / 478.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.1722, allocations: 403.4 kB / 478.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.1736, allocations: 0.7404 MB / 479.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.1743, allocations: 285 kB / 479.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.1775, allocations: 1.5 MB / 481.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1775, allocations: 0 / 481.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1776, allocations: 0 / 481.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.399e-05/0.1776, allocations: 0 / 481.3 MB, free: 1.297 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.004885/0.1825, allocations: 1.414 MB / 482.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/0.1826, allocations: 12.03 kB / 482.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004901/0.1831, allocations: 211.4 kB / 482.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.1858, allocations: 277.9 kB / 483.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.1874, allocations: 0.8473 MB / 484 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.1875, allocations: 90.36 kB / 484.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.1878, allocations: 151.9 kB / 484.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.1909, allocations: 2.08 MB / 486.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.1909, allocations: 7.938 kB / 486.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1911, allocations: 55.97 kB / 486.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000401/0.1915, allocations: 174.5 kB / 486.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.194, allocations: 1.669 MB / 488.2 MB, free: 10.04 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.01058/0.2046, allocations: 9.423 MB / 497.7 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2059, allocations: 0.8881 MB / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.2065, allocations: 440.4 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.2066, allocations: 12.66 kB / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.2066, allocations: 43.22 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.845e-06/0.2066, allocations: 3.938 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005325/0.212, allocations: 3.037 MB / 0.4903 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.2121, allocations: 90.09 kB / 0.4904 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.213, allocations: 0.7504 MB / 0.4911 GB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2131, allocations: 41.7 kB / 0.4912 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/0.2136, allocations: 0.6918 MB / 0.4918 GB, free: 9.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.2138, allocations: 307.7 kB / 0.4921 GB, free: 9.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.2139, allocations: 28 kB / 0.4922 GB, free: 9.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.2141, allocations: 402.7 kB / 0.4925 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.2148, allocations: 451.7 kB / 0.493 GB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.2159, allocations: 1.01 MB / 0.494 GB, free: 7.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.2168, allocations: 0.6431 MB / 0.4946 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.2168, allocations: 4 kB / 0.4946 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00337/0.2202, allocations: 1.954 MB / 0.4965 GB, free: 4.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.2203, allocations: 16 kB / 0.4965 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002158/0.2224, allocations: 1.195 MB / 0.4977 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.2238, allocations: 447.5 kB / 0.4981 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.2247, allocations: 255.6 kB / 0.4983 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2588/0.4835, allocations: 5.405 MB / 0.5036 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4846, allocations: 54.91 kB / 0.5037 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4848, allocations: 70.19 kB / 0.5037 GB, free: 52.77 MB / 382.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: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009157/0.4857, allocations: 477.2 kB / 0.5042 GB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.4858, allocations: 90.56 kB / 0.5043 GB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.4882, allocations: 1.383 MB / 0.5056 GB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.4883, allocations: 8.906 kB / 0.5056 GB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4883, allocations: 5.188 kB / 0.5056 GB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.4883, allocations: 6.297 kB / 0.5057 GB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.4923, allocations: 2.494 MB / 0.5081 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4923, allocations: 2.219 kB / 0.5081 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.4929, allocations: 130.1 kB / 0.5082 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.4934, allocations: 186.5 kB / 0.5084 GB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.4935, allocations: 26.02 kB / 0.5084 GB, free: 51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.4966, allocations: 4.592 MB / 0.5129 GB, free: 46.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4966, allocations: 3.578 kB / 0.5129 GB, free: 46.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.4993, allocations: 1.853 MB / 0.5147 GB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.4997, allocations: 226 kB / 0.5149 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4998, allocations: 22.62 kB / 0.515 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.5001, allocations: 29 kB / 0.515 GB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.5003, allocations: 60.66 kB / 0.515 GB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.5004, allocations: 27.56 kB / 0.5151 GB, free: 45.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008113/0.5012, allocations: 496.2 kB / 0.5155 GB, free: 45.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5012, allocations: 0 / 0.5155 GB, free: 45.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001652/0.5028, allocations: 326.5 kB / 0.5158 GB, free: 45.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002851/0.5057, allocations: 2.414 MB / 0.5182 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.5088, allocations: 1.535 MB / 0.5197 GB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5088, allocations: 0 / 0.5197 GB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.5102, allocations: 0.8386 MB / 0.5205 GB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/0.5112, allocations: 170.5 kB / 0.5207 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5225, allocations: 7.784 MB / 0.5283 GB, free: 38.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/0.5234, allocations: 1.313 MB / 0.5296 GB, free: 37.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008675/0.5243, allocations: 367.2 kB / 0.5299 GB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.5247, allocations: 469.1 kB / 0.5304 GB, free: 37.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5247, allocations: 0 / 0.5304 GB, free: 37.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.5602, allocations: 20.47 MB / 0.5504 GB, free: 18.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.5604, allocations: 220.1 kB / 0.5506 GB, free: 18.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.884, allocations: 3.719 kB / 0.5506 GB, free: 18.19 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat does not exist to compare? outputFormat=mat