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.001165/0.001165, allocations: 113.8 kB / 17.06 MB, free: 5.996 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.001126/0.001126, allocations: 194.9 kB / 18.01 MB, free: 5.07 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.04 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 67.91 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 58.06 MB / 0.5036 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007949/0.3201, allocations: 8.161 MB / 0.5116 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.325, allocations: 2.973 MB / 0.5145 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008918/0.326, allocations: 31.12 kB / 0.5145 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.3285, allocations: 0.8839 MB / 0.5154 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.3309, allocations: 0.9144 MB / 0.5163 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.333, allocations: 0.6372 MB / 0.5169 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.3366, allocations: 1.948 MB / 0.5188 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.3379, allocations: 0.6544 MB / 0.5194 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.3398, allocations: 0.83 MB / 0.5202 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.3418, allocations: 1.11 MB / 0.5213 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.3423, allocations: 111.1 kB / 0.5214 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.3439, allocations: 0.5405 MB / 0.522 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3453, allocations: 0.7836 MB / 0.5227 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.3475, allocations: 0.7579 MB / 0.5235 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.3521, allocations: 2.013 MB / 0.5254 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3521, allocations: 3.938 kB / 0.5254 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3521, allocations: 4 kB / 0.5254 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.3523, allocations: 0 / 0.5254 GB, free: 11.07 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.005482/0.3578, allocations: 1.705 MB / 0.5271 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3578, allocations: 12.36 kB / 0.5271 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/0.3582, allocations: 216.6 kB / 0.5273 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.3599, allocations: 284 kB / 0.5276 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.3618, allocations: 0.9154 MB / 0.5285 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.3619, allocations: 96.02 kB / 0.5286 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.3622, allocations: 152.8 kB / 0.5287 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.3654, allocations: 2.085 MB / 0.5308 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.3655, allocations: 13.17 kB / 0.5308 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.3656, allocations: 53.25 kB / 0.5308 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004554/0.3661, allocations: 177.6 kB / 0.531 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.3686, allocations: 1.676 MB / 0.5326 GB, free: 6.723 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.01058/0.3792, allocations: 9.382 MB / 0.5418 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3804, allocations: 0.891 MB / 0.5427 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.381, allocations: 448.6 kB / 0.5431 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.381, allocations: 17.08 kB / 0.5431 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3811, allocations: 39.41 kB / 0.5431 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 2.435e-06/0.3811, allocations: 0 / 0.5431 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.004712/0.3858, allocations: 3.076 MB / 0.5461 GB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3859, allocations: 95.72 kB / 0.5462 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.3867, allocations: 0.7528 MB / 0.547 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.3868, allocations: 41.7 kB / 0.547 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.3872, allocations: 0.7216 MB / 0.5477 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.3875, allocations: 313.4 kB / 0.548 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/0.3878, allocations: 267.4 kB / 0.5483 GB, free: 9.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.388, allocations: 406.7 kB / 0.5487 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/0.3886, allocations: 455.8 kB / 0.5491 GB, free: 9.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/0.3896, allocations: 1.014 MB / 0.5501 GB, free: 7.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3913, allocations: 1.606 MB / 0.5517 GB, free: 5.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.3913, allocations: 12 kB / 0.5517 GB, free: 5.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003147/0.3945, allocations: 1.959 MB / 0.5536 GB, free: 3.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3945, allocations: 16 kB / 0.5536 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002023/0.3966, allocations: 1.199 MB / 0.5548 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3978, allocations: 451.5 kB / 0.5552 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.3987, allocations: 263.5 kB / 0.5554 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/0.4056, allocations: 5.888 MB / 0.5612 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.4064, allocations: 59.92 kB / 0.5613 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.4066, allocations: 68 kB / 0.5613 GB, free: 11.68 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.0007619/0.4073, allocations: 473.1 kB / 0.5618 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4075, allocations: 91.39 kB / 0.5619 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4094, allocations: 1.388 MB / 0.5632 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4095, allocations: 16 kB / 0.5632 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4095, allocations: 0 / 0.5632 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.4095, allocations: 8.078 kB / 0.5632 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.4132, allocations: 2.492 MB / 0.5657 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4132, allocations: 3.984 kB / 0.5657 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.4138, allocations: 127.8 kB / 0.5658 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.4143, allocations: 190.4 kB / 0.566 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.4144, allocations: 27.92 kB / 0.566 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.418, allocations: 4.949 MB / 0.5708 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.418, allocations: 4.125 kB / 0.5708 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.4205, allocations: 1.85 MB / 0.5726 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.421, allocations: 232.5 kB / 0.5729 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.4211, allocations: 27.92 kB / 0.5729 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.4215, allocations: 31.92 kB / 0.5729 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4216, allocations: 56.56 kB / 0.573 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.4217, allocations: 24 kB / 0.573 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005994/0.4223, allocations: 0.4912 MB / 0.5735 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4223, allocations: 0 / 0.5735 GB, free: 14.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001292/0.4236, allocations: 324 kB / 0.5738 GB, free: 14.14 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.002635/0.4263, allocations: 2.425 MB / 0.5762 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.4289, allocations: 1.556 MB / 0.5777 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4289, allocations: 0 / 0.5777 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.4302, allocations: 0.8436 MB / 0.5785 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.4312, allocations: 181.1 kB / 0.5787 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.4464, allocations: 10.57 MB / 0.589 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.4477, allocations: 1.313 MB / 0.5903 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008771/0.4486, allocations: 360.5 kB / 0.5906 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.4492, allocations: 459.3 kB / 0.5911 GB, free: 11.56 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4492, allocations: 0 / 0.5911 GB, free: 11.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.4962, allocations: 21.31 MB / 0.6119 GB, free: 6.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.57, allocations: 14.91 kB / 0.6119 GB, free: 6.434 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)