Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_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.001039/0.001039, allocations: 108.3 kB / 16.92 MB, free: 5.84 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.001101/0.001101, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.315/1.315, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1817/0.1817, allocations: 38.03 MB / 329.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 59.64 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09041, allocations: 58.06 MB / 457 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009213/0.09966, allocations: 8.166 MB / 465.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005535/0.1052, allocations: 2.969 MB / 468.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.106, allocations: 35.75 kB / 468.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.1083, allocations: 0.8939 MB / 469 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.1105, allocations: 0.8987 MB / 469.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.1123, allocations: 0.6276 MB / 470.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.1149, allocations: 1.965 MB / 472.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/0.1158, allocations: 0.646 MB / 473.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.1173, allocations: 0.8173 MB / 474 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1189, allocations: 1.11 MB / 475.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.1193, allocations: 112 kB / 475.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1205, allocations: 0.5382 MB / 475.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008659/0.1214, allocations: 0.7834 MB / 476.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.1228, allocations: 0.7542 MB / 477.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.1249, allocations: 1.974 MB / 479.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1249, allocations: 0 / 479.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1249, allocations: 0 / 479.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.125, allocations: 4 kB / 479.2 MB, free: 1.594 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.003311/0.1283, allocations: 1.66 MB / 480.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1284, allocations: 11.89 kB / 480.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000286/0.1287, allocations: 215.6 kB / 481.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.1304, allocations: 278.8 kB / 481.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.1318, allocations: 0.8715 MB / 482.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.1319, allocations: 90.8 kB / 482.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.1322, allocations: 159.8 kB / 482.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.135, allocations: 2.084 MB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.135, allocations: 7.938 kB / 484.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.1352, allocations: 51.97 kB / 484.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004381/0.1356, allocations: 178.5 kB / 484.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.1381, allocations: 1.676 MB / 486.5 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.009481/0.1476, allocations: 9.407 MB / 495.9 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1488, allocations: 0.8991 MB / 496.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.1493, allocations: 440.4 kB / 497.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.1494, allocations: 12.56 kB / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1494, allocations: 39.22 kB / 497.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.465e-06/0.1494, allocations: 0 / 497.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004553/0.154, allocations: 3.049 MB / 0.4886 GB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1541, allocations: 86.11 kB / 0.4887 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.1548, allocations: 0.7544 MB / 0.4894 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.1549, allocations: 37.7 kB / 0.4895 GB, free: 10.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.1553, allocations: 0.6996 MB / 0.4902 GB, free: 9.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.1555, allocations: 307.7 kB / 0.4905 GB, free: 9.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.1558, allocations: 263.2 kB / 0.4907 GB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.156, allocations: 398.7 kB / 0.4911 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.1567, allocations: 459.7 kB / 0.4915 GB, free: 8.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.1576, allocations: 1.014 MB / 0.4925 GB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.1594, allocations: 1.613 MB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.1594, allocations: 4 kB / 0.4941 GB, free: 5.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003272/0.1627, allocations: 1.958 MB / 0.496 GB, free: 3.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1627, allocations: 12 kB / 0.496 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002098/0.1648, allocations: 1.207 MB / 0.4972 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.1661, allocations: 455.7 kB / 0.4976 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.1669, allocations: 259.5 kB / 0.4979 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.1739, allocations: 5.913 MB / 0.5036 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.1746, allocations: 55.89 kB / 0.5037 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.1748, allocations: 68 kB / 0.5038 GB, free: 11.11 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007628/0.1756, allocations: 465.1 kB / 0.5042 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1757, allocations: 90.88 kB / 0.5043 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.1779, allocations: 1.395 MB / 0.5057 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1779, allocations: 8 kB / 0.5057 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1779, allocations: 0 / 0.5057 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.1779, allocations: 3.984 kB / 0.5057 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.1818, allocations: 2.489 MB / 0.5081 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1819, allocations: 0 / 0.5081 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.1824, allocations: 123.9 kB / 0.5082 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.1829, allocations: 194.3 kB / 0.5084 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.183, allocations: 27.98 kB / 0.5084 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/0.1872, allocations: 4.952 MB / 0.5133 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1872, allocations: 0 / 0.5133 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1719/0.3591, allocations: 1.851 MB / 0.5151 GB, free: 68.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.3595, allocations: 225.7 kB / 0.5153 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.3596, allocations: 24.31 kB / 0.5153 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.36, allocations: 29.69 kB / 0.5153 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3602, allocations: 56.97 kB / 0.5154 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.3602, allocations: 28.06 kB / 0.5154 GB, free: 68.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006347/0.3609, allocations: 499.3 kB / 0.5159 GB, free: 68.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3609, allocations: 2.781 kB / 0.5159 GB, free: 68.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001178/0.3621, allocations: 326.1 kB / 0.5162 GB, free: 68.48 MB / 398.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002573/0.3646, allocations: 2.428 MB / 0.5186 GB, free: 67.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003092/0.3677, allocations: 1.835 MB / 0.5204 GB, free: 66.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3678, allocations: 2.219 kB / 0.5204 GB, free: 66.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.369, allocations: 0.8431 MB / 0.5212 GB, free: 66.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.3699, allocations: 162.5 kB / 0.5214 GB, free: 66.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.3843, allocations: 10.79 MB / 0.5319 GB, free: 60.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/0.3853, allocations: 1.317 MB / 0.5332 GB, free: 59.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000983/0.3863, allocations: 369.5 kB / 0.5335 GB, free: 59.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.3867, allocations: 459.5 kB / 0.534 GB, free: 59.1 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3867, allocations: 0 / 0.534 GB, free: 59.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.4271, allocations: 20.93 MB / 0.5544 GB, free: 44.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.723/10.15, allocations: 12 kB / 0.5544 GB, free: 44.03 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)