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.001454/0.001454, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.001747/0.001747, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.337/1.337, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.02 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 61.7 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09319, allocations: 58.06 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009017/0.1022, allocations: 8.159 MB / 465.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.1073, allocations: 2.973 MB / 468.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.108, allocations: 35.81 kB / 468.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.1103, allocations: 0.8861 MB / 469 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.1124, allocations: 0.9026 MB / 469.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1141, allocations: 0.6315 MB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.1164, allocations: 1.961 MB / 472.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.1175, allocations: 0.6539 MB / 473.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1189, allocations: 0.8173 MB / 474 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.1206, allocations: 1.102 MB / 475.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.121, allocations: 116 kB / 475.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1223, allocations: 0.5421 MB / 475.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009009/0.1232, allocations: 0.7834 MB / 476.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.1244, allocations: 0.7542 MB / 477.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.1268, allocations: 1.967 MB / 479.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1268, allocations: 0 / 479.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.1268, allocations: 4 kB / 479.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.208e-05/0.1269, allocations: 0 / 479.2 MB, free: 1.586 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.003511/0.1304, allocations: 1.663 MB / 480.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1305, allocations: 15.89 kB / 480.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003354/0.1308, allocations: 223.6 kB / 481.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.1326, allocations: 282.7 kB / 481.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.1341, allocations: 0.856 MB / 482.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.1342, allocations: 102.8 kB / 482.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.1345, allocations: 147.8 kB / 482.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.1375, allocations: 2.08 MB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.1375, allocations: 15.94 kB / 484.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.1377, allocations: 55.97 kB / 484.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004677/0.1381, allocations: 178.5 kB / 484.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.1408, allocations: 1.676 MB / 486.5 MB, free: 10.03 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.009994/0.1508, allocations: 9.407 MB / 495.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1519, allocations: 0.899 MB / 496.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1525, allocations: 444.4 kB / 497.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1526, allocations: 12.64 kB / 497.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1526, allocations: 39.22 kB / 497.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.735e-06/0.1526, allocations: 0 / 497.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004813/0.1574, allocations: 3.045 MB / 0.4886 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1575, allocations: 90.09 kB / 0.4887 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.1584, allocations: 0.7465 MB / 0.4894 GB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.1584, allocations: 41.7 kB / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.1589, allocations: 0.7035 MB / 0.4902 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.1591, allocations: 307.7 kB / 0.4905 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.1594, allocations: 259.3 kB / 0.4907 GB, free: 9.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1596, allocations: 402.7 kB / 0.4911 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.1603, allocations: 451.7 kB / 0.4915 GB, free: 8.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.1613, allocations: 1.022 MB / 0.4925 GB, free: 7.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.1632, allocations: 1.614 MB / 0.4941 GB, free: 5.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.1632, allocations: 4 kB / 0.4941 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003444/0.1667, allocations: 1.958 MB / 0.496 GB, free: 3.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.1667, allocations: 12 kB / 0.496 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002122/0.1688, allocations: 1.203 MB / 0.4972 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1702, allocations: 455.7 kB / 0.4976 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.171, allocations: 263.5 kB / 0.4979 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.1781, allocations: 5.888 MB / 0.5036 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/0.179, allocations: 59.92 kB / 0.5037 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.1792, allocations: 72 kB / 0.5038 GB, free: 11.1 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.0007519/0.18, allocations: 469.1 kB / 0.5042 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1802, allocations: 90.97 kB / 0.5043 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.1824, allocations: 1.395 MB / 0.5057 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1824, allocations: 12 kB / 0.5057 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1824, allocations: 4 kB / 0.5057 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1824, allocations: 3.984 kB / 0.5057 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.1861, allocations: 2.481 MB / 0.5081 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1862, allocations: 4 kB / 0.5081 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.1867, allocations: 131.8 kB / 0.5082 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005235/0.1872, allocations: 186.3 kB / 0.5084 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.1873, allocations: 23.98 kB / 0.5084 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.1912, allocations: 4.956 MB / 0.5133 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1912, allocations: 7.969 kB / 0.5133 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1901/0.3813, allocations: 1.847 MB / 0.5151 GB, free: 68.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.3818, allocations: 220.8 kB / 0.5153 GB, free: 68.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3819, allocations: 29.17 kB / 0.5153 GB, free: 68.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.3823, allocations: 25.34 kB / 0.5153 GB, free: 68.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3824, allocations: 61.31 kB / 0.5154 GB, free: 68.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.3825, allocations: 25.11 kB / 0.5154 GB, free: 68.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005912/0.3831, allocations: 0.4907 MB / 0.5159 GB, free: 68.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 0.5625 kB / 0.5159 GB, free: 68.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3842, allocations: 324.1 kB / 0.5162 GB, free: 68.55 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.002459/0.3867, allocations: 2.425 MB / 0.5186 GB, free: 67.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.3896, allocations: 1.831 MB / 0.5204 GB, free: 66.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3896, allocations: 0.9375 kB / 0.5204 GB, free: 66.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3909, allocations: 0.8391 MB / 0.5212 GB, free: 66.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.3918, allocations: 169 kB / 0.5214 GB, free: 66.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.4069, allocations: 10.8 MB / 0.5319 GB, free: 60.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.4079, allocations: 1.32 MB / 0.5332 GB, free: 59.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009973/0.4089, allocations: 363.4 kB / 0.5335 GB, free: 59.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.4093, allocations: 459.8 kB / 0.534 GB, free: 59.16 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4093, allocations: 0 / 0.534 GB, free: 59.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.4573, allocations: 20.92 MB / 0.5544 GB, free: 44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/9.847, allocations: 8 kB / 0.5544 GB, free: 44 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 & 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)