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.001295/0.001295, allocations: 109.8 kB / 17.06 MB, free: 5.977 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.001244/0.001244, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.502/1.502, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.183/0.183, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 75.88 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3534, allocations: 58.06 MB / 0.5036 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008187/0.3617, allocations: 8.155 MB / 0.5116 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.3668, allocations: 2.977 MB / 0.5145 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009029/0.3678, allocations: 31.47 kB / 0.5145 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.3704, allocations: 0.8806 MB / 0.5154 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.3732, allocations: 0.9027 MB / 0.5163 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.3752, allocations: 0.6346 MB / 0.5169 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.3788, allocations: 1.949 MB / 0.5188 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.3802, allocations: 0.6599 MB / 0.5194 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.3823, allocations: 0.8169 MB / 0.5202 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3848, allocations: 1.104 MB / 0.5213 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.3852, allocations: 115.8 kB / 0.5214 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.387, allocations: 0.5324 MB / 0.5219 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3883, allocations: 0.7912 MB / 0.5227 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.3896, allocations: 0.7584 MB / 0.5234 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.3937, allocations: 2.009 MB / 0.5254 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3938, allocations: 0 / 0.5254 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3938, allocations: 0 / 0.5254 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.008e-05/0.3938, allocations: 5 kB / 0.5254 GB, free: 10.98 MB / 398.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.004426/0.3983, allocations: 1.708 MB / 0.5271 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.3983, allocations: 12.89 kB / 0.5271 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/0.3987, allocations: 212.1 kB / 0.5273 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.4006, allocations: 288.8 kB / 0.5276 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.4025, allocations: 0.9169 MB / 0.5285 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.4026, allocations: 95.95 kB / 0.5286 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.403, allocations: 152.9 kB / 0.5287 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.4065, allocations: 2.081 MB / 0.5307 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.4066, allocations: 12.3 kB / 0.5307 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.4067, allocations: 57.56 kB / 0.5308 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004734/0.4072, allocations: 177.8 kB / 0.531 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.4102, allocations: 1.672 MB / 0.5326 GB, free: 6.637 MB / 398.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.01243/0.4226, allocations: 9.381 MB / 0.5418 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.424, allocations: 0.8875 MB / 0.5426 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.4246, allocations: 443.9 kB / 0.5431 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.4247, allocations: 22.89 kB / 0.5431 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4248, allocations: 41.94 kB / 0.5431 GB, free: 13.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.977e-06/0.4248, allocations: 0 / 0.5431 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005952/0.4307, allocations: 3.069 MB / 0.5461 GB, free: 11.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.4309, allocations: 95.11 kB / 0.5462 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.432, allocations: 0.7532 MB / 0.5469 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.4321, allocations: 45.64 kB / 0.547 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.4326, allocations: 0.7216 MB / 0.5477 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.4329, allocations: 317.4 kB / 0.548 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.4333, allocations: 267.4 kB / 0.5482 GB, free: 9.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.4336, allocations: 402.7 kB / 0.5486 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.4343, allocations: 455.7 kB / 0.5491 GB, free: 9.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.4355, allocations: 1.014 MB / 0.5501 GB, free: 7.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.4376, allocations: 1.602 MB / 0.5516 GB, free: 5.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4376, allocations: 4 kB / 0.5516 GB, free: 5.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00371/0.4414, allocations: 1.97 MB / 0.5535 GB, free: 3.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.4414, allocations: 16 kB / 0.5536 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002363/0.4438, allocations: 1.203 MB / 0.5547 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.4452, allocations: 459.5 kB / 0.5552 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.4461, allocations: 259.5 kB / 0.5554 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.4542, allocations: 5.899 MB / 0.5612 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4554, allocations: 55.94 kB / 0.5612 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.4555, allocations: 71.98 kB / 0.5613 GB, free: 11.72 MB / 430.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.0009342/0.4564, allocations: 469.1 kB / 0.5618 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4566, allocations: 95.39 kB / 0.5618 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.459, allocations: 1.383 MB / 0.5632 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.459, allocations: 8 kB / 0.5632 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4591, allocations: 7.938 kB / 0.5632 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4591, allocations: 7.984 kB / 0.5632 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.4633, allocations: 2.489 MB / 0.5657 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4633, allocations: 0 / 0.5657 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.4639, allocations: 131.9 kB / 0.5658 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/0.4644, allocations: 186.2 kB / 0.566 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.4645, allocations: 28.11 kB / 0.566 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.469, allocations: 4.957 MB / 0.5708 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.469, allocations: 0 / 0.5708 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.4718, allocations: 1.854 MB / 0.5726 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.4723, allocations: 228.6 kB / 0.5728 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4724, allocations: 31.94 kB / 0.5729 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.4728, allocations: 31.97 kB / 0.5729 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.473, allocations: 56.52 kB / 0.573 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.473, allocations: 27.98 kB / 0.573 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006832/0.4737, allocations: 499 kB / 0.5735 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4737, allocations: 0 / 0.5735 GB, free: 14.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001348/0.4751, allocations: 320 kB / 0.5738 GB, free: 14.19 MB / 446.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.003089/0.4782, allocations: 2.432 MB / 0.5761 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.4812, allocations: 1.552 MB / 0.5777 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4812, allocations: 0 / 0.5777 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4827, allocations: 0.8434 MB / 0.5785 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4837, allocations: 173.7 kB / 0.5787 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.5003, allocations: 10.57 MB / 0.589 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.5015, allocations: 1.317 MB / 0.5903 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000881/0.5023, allocations: 360.5 kB / 0.5906 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.5029, allocations: 463.3 kB / 0.591 GB, free: 11.6 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5029, allocations: 0 / 0.591 GB, free: 11.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06138/0.5643, allocations: 21.3 MB / 0.6118 GB, free: 6.484 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.27, allocations: 8 kB / 0.6119 GB, free: 6.477 MB / 478.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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)