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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0008965/0.0008965, allocations: 97.77 kB / 16.5 MB, free: 6.641 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.0009114/0.0009115, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.191/0.191, allocations: 37.99 MB / 308.6 MB, free: 6.23 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.36 kB / 374.7 MB, free: 4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2798, allocations: 55.24 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007785/0.2876, allocations: 9.601 MB / 439.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.2933, allocations: 3.508 MB / 443.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009649/0.2943, allocations: 59.62 kB / 443.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2961, allocations: 0.8436 MB / 444 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2978, allocations: 0.8603 MB / 444.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.299, allocations: 0.5771 MB / 445.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3011, allocations: 3.327 MB / 448.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007678/0.3019, allocations: 0.6331 MB / 449.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.3029, allocations: 0.6884 MB / 450.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.3045, allocations: 1.184 MB / 451.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.3046, allocations: 68 kB / 451.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3057, allocations: 0.5459 MB / 451.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006673/0.3064, allocations: 0.7521 MB / 452.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.3071, allocations: 0.7033 MB / 453.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3088, allocations: 1.943 MB / 455.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3088, allocations: 0 / 455.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3088, allocations: 0 / 455.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.3089, allocations: 0 / 455.3 MB, free: 10.38 MB / 334.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.002946/0.3118, allocations: 1.668 MB / 456.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3119, allocations: 12.03 kB / 456.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.3121, allocations: 219.5 kB / 457.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.3137, allocations: 282.8 kB / 457.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.3151, allocations: 0.8599 MB / 458.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.3152, allocations: 90.73 kB / 458.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.3155, allocations: 159.8 kB / 458.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.3183, allocations: 2.084 MB / 460.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.3183, allocations: 7.938 kB / 460.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.3185, allocations: 51.98 kB / 460.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004205/0.3189, allocations: 182.4 kB / 460.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3213, allocations: 1.677 MB / 462.5 MB, free: 2.82 MB / 334.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.009351/0.3306, allocations: 9.407 MB / 471.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3317, allocations: 0.8989 MB / 472.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.3323, allocations: 443.5 kB / 473.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.3324, allocations: 12.66 kB / 473.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3324, allocations: 43.22 kB / 473.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.826e-06/0.3324, allocations: 3.938 kB / 473.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.004595/0.337, allocations: 3.045 MB / 476.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3371, allocations: 90.09 kB / 476.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.3379, allocations: 0.7504 MB / 477.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.3379, allocations: 41.7 kB / 477.2 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.3383, allocations: 0.6995 MB / 477.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3385, allocations: 303.7 kB / 478.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.3388, allocations: 251.3 kB / 478.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.339, allocations: 414.8 kB / 478.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.3396, allocations: 451.7 kB / 479.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3406, allocations: 1.018 MB / 480.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.3425, allocations: 1.606 MB / 482 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.3425, allocations: 8 kB / 482 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003221/0.3457, allocations: 1.958 MB / 483.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3458, allocations: 12 kB / 483.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002094/0.3479, allocations: 1.21 MB / 485.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.3492, allocations: 442.3 kB / 485.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.35, allocations: 263.5 kB / 485.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.3568, allocations: 5.403 MB / 491.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/0.3576, allocations: 64.02 kB / 491.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/0.3577, allocations: 71.98 kB / 491.4 MB, free: 4.391 MB / 366.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.0008146/0.3586, allocations: 473.1 kB / 491.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3587, allocations: 90.88 kB / 491.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3607, allocations: 1.384 MB / 493.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3608, allocations: 12 kB / 493.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3608, allocations: 4 kB / 493.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3608, allocations: 7.922 kB / 493.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.3644, allocations: 2.489 MB / 495.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3644, allocations: 0 / 495.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.3649, allocations: 127.9 kB / 495.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.3655, allocations: 190.4 kB / 496.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.3655, allocations: 27.98 kB / 496.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/0.3692, allocations: 4.594 MB / 0.489 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3693, allocations: 3.938 kB / 0.489 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.3716, allocations: 1.856 MB / 0.4908 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.3719, allocations: 231.9 kB / 0.491 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.372, allocations: 23.94 kB / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.3724, allocations: 27.97 kB / 0.4911 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3725, allocations: 56.52 kB / 0.4912 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.3726, allocations: 31.98 kB / 0.4912 GB, free: 8.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005876/0.3732, allocations: 0.4912 MB / 0.4917 GB, free: 7.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3732, allocations: 0 / 0.4917 GB, free: 7.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001139/0.3743, allocations: 324 kB / 0.492 GB, free: 7.234 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 (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.0026/0.3769, allocations: 2.409 MB / 0.4943 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.3795, allocations: 1.544 MB / 0.4958 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3795, allocations: 0 / 0.4958 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.3808, allocations: 0.8392 MB / 0.4967 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.3817, allocations: 168 kB / 0.4968 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.3969, allocations: 11.35 MB / 0.5079 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/0.3979, allocations: 1.306 MB / 0.5092 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009269/0.3989, allocations: 376.4 kB / 0.5095 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.3994, allocations: 462.9 kB / 0.51 GB, free: 3.848 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3994, allocations: 0 / 0.51 GB, free: 3.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.644, allocations: 20.39 MB / 0.5299 GB, free: 98.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.6442, allocations: 225.8 kB / 0.5301 GB, free: 98.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.03, allocations: 0 / 0.5301 GB, free: 98.31 MB / 414.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)