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.000839/0.0008389, allocations: 87.58 kB / 16.65 MB, free: 6.535 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.00106/0.00106, allocations: 176.2 kB / 17.56 MB, free: 6.18 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.344/1.344, allocations: 205.4 MB / 223.7 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1717/0.1717, allocations: 38.04 MB / 310.1 MB, free: 5.898 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.0004943/0.0004942, allocations: 12 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 56.33 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007107/0.2298, allocations: 9.126 MB / 442.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.2352, allocations: 3.457 MB / 446.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.2365, allocations: 59.56 kB / 446.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.2374, allocations: 250.5 kB / 446.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.2394, allocations: 0.8643 MB / 447.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.2409, allocations: 0.5615 MB / 447.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.2437, allocations: 3.334 MB / 451.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.2456, allocations: 1.078 MB / 452.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.2471, allocations: 0.6611 MB / 453 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.2492, allocations: 1.149 MB / 454.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.2496, allocations: 56 kB / 454.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.2511, allocations: 0.5264 MB / 454.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2521, allocations: 0.7287 MB / 455.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.2534, allocations: 0.7089 MB / 456.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.2555, allocations: 1.911 MB / 458.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2555, allocations: 0 / 458.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2555, allocations: 0 / 458.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.2555, allocations: 0 / 458.1 MB, free: 10.05 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.002632/0.2582, allocations: 1.403 MB / 459.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.2582, allocations: 8.031 kB / 459.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.2585, allocations: 219.6 kB / 459.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.2601, allocations: 278.9 kB / 460 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.2615, allocations: 0.8559 MB / 460.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.2616, allocations: 94.78 kB / 460.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.2619, allocations: 155.8 kB / 461.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.2647, allocations: 2.08 MB / 463.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.2647, allocations: 15.94 kB / 463.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.2648, allocations: 51.98 kB / 463.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.2652, allocations: 178.5 kB / 463.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2676, allocations: 1.677 MB / 465 MB, free: 2.77 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.00958/0.2772, allocations: 9.43 MB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.2784, allocations: 0.895 MB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.2789, allocations: 439.5 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.279, allocations: 12.64 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.2791, allocations: 43.22 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.2791, allocations: 0 / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.004445/0.2835, allocations: 3.049 MB / 478.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2836, allocations: 86.11 kB / 479 MB, free: 4.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.2844, allocations: 0.7504 MB / 479.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.2845, allocations: 41.7 kB / 479.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.2849, allocations: 0.6996 MB / 480.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.2851, allocations: 315.6 kB / 480.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2853, allocations: 113.7 kB / 480.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2854, allocations: 402.7 kB / 481.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.286, allocations: 455.7 kB / 481.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.287, allocations: 1.018 MB / 482.8 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.2888, allocations: 1.606 MB / 484.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.2888, allocations: 11.94 kB / 484.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003199/0.292, allocations: 1.962 MB / 486.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2921, allocations: 12 kB / 486.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002074/0.2941, allocations: 1.203 MB / 487.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2954, allocations: 452.3 kB / 488 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.2962, allocations: 263.6 kB / 488.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.3026, allocations: 5.402 MB / 493.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.3033, allocations: 59.97 kB / 493.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.3034, allocations: 71.98 kB / 493.8 MB, free: 4.457 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.0006681/0.3041, allocations: 465.1 kB / 494.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3042, allocations: 90.88 kB / 494.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.3063, allocations: 1.391 MB / 495.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3063, allocations: 8 kB / 495.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3063, allocations: 4 kB / 495.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3064, allocations: 8.016 kB / 495.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.3098, allocations: 2.497 MB / 498.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3098, allocations: 3.938 kB / 498.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.3103, allocations: 131.8 kB / 498.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/0.3108, allocations: 186.2 kB / 498.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.3109, allocations: 23.98 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.3143, allocations: 4.606 MB / 0.4914 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3143, allocations: 8.016 kB / 0.4914 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.3166, allocations: 1.852 MB / 0.4932 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.317, allocations: 231.9 kB / 0.4934 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.3171, allocations: 20 kB / 0.4934 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3174, allocations: 31.97 kB / 0.4935 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3175, allocations: 56.52 kB / 0.4935 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3176, allocations: 27.98 kB / 0.4935 GB, free: 8.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.3182, allocations: 0.4912 MB / 0.494 GB, free: 7.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3182, allocations: 0 / 0.494 GB, free: 7.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001199/0.3194, allocations: 320 kB / 0.4943 GB, free: 7.293 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.002723/0.3221, allocations: 2.42 MB / 0.4967 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.3248, allocations: 1.544 MB / 0.4982 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3249, allocations: 0 / 0.4982 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3262, allocations: 0.8353 MB / 0.499 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3273, allocations: 172.3 kB / 0.4992 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/0.345, allocations: 11.46 MB / 0.5104 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.3461, allocations: 1.309 MB / 0.5117 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009344/0.3471, allocations: 368.5 kB / 0.512 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.3477, allocations: 455.3 kB / 0.5124 GB, free: 3.793 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3477, allocations: 0 / 0.5124 GB, free: 3.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/0.564, allocations: 20.12 MB / 0.5321 GB, free: 79.41 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.5644, allocations: 241 kB / 0.5323 GB, free: 79.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.811, allocations: 3.5 kB / 0.5323 GB, free: 79.14 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)