Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_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.000864/0.000864, allocations: 92.41 kB / 16.3 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.0009049/0.0009048, allocations: 188.9 kB / 17.2 MB, free: 5.91 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.339/1.339, allocations: 223.2 MB / 241.1 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3127/0.3127, allocations: 38.07 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8 kB / 400.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2777, allocations: 59.16 MB / 459.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007554/0.2853, allocations: 8.159 MB / 467.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.2906, allocations: 3.252 MB / 470.6 MB, free: 22.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.2917, allocations: 57.16 kB / 470.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.2924, allocations: 250.6 kB / 470.9 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.2944, allocations: 0.6648 MB / 471.6 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.296, allocations: 0.5712 MB / 472.2 MB, free: 21.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.2975, allocations: 0.8822 MB / 473.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2992, allocations: 1.017 MB / 474.1 MB, free: 20.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.3003, allocations: 0.5498 MB / 474.6 MB, free: 20.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.3013, allocations: 0.7039 MB / 475.3 MB, free: 20.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.3015, allocations: 56.78 kB / 475.4 MB, free: 20.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000902/0.3024, allocations: 385.5 kB / 475.8 MB, free: 19.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.3031, allocations: 0.6687 MB / 476.4 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.3034, allocations: 287.7 kB / 476.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3047, allocations: 1.485 MB / 478.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3047, allocations: 0 / 478.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3047, allocations: 0 / 478.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.3048, allocations: 0 / 478.2 MB, free: 18.62 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.002307/0.3071, allocations: 1.424 MB / 479.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3071, allocations: 9.406 kB / 479.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.3073, allocations: 215.4 kB / 479.8 MB, free: 17.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3089, allocations: 294.4 kB / 480.1 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.3104, allocations: 0.8487 MB / 481 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.3104, allocations: 92.31 kB / 481.1 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.3107, allocations: 156.2 kB / 481.2 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.3132, allocations: 2.057 MB / 483.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.3133, allocations: 12.14 kB / 483.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3134, allocations: 54.31 kB / 483.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.3138, allocations: 181.8 kB / 483.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.3159, allocations: 1.647 MB / 485.2 MB, free: 13.7 MB / 350.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.00774/0.3236, allocations: 9.399 MB / 494.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.3244, allocations: 0.8948 MB / 495.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.3245, allocations: 12.7 kB / 495.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3246, allocations: 47.16 kB / 495.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.344e-06/0.3246, allocations: 0 / 495.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.00395/0.3285, allocations: 2.998 MB / 498.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.3286, allocations: 90.11 kB / 498.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.3295, allocations: 0.7426 MB / 499.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.3296, allocations: 45.69 kB / 499.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.3301, allocations: 0.6995 MB / 0.4884 GB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.3304, allocations: 311.7 kB / 0.4887 GB, free: 13.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.3304, allocations: 28 kB / 0.4887 GB, free: 13.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3306, allocations: 414.6 kB / 0.4891 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.3313, allocations: 443.7 kB / 0.4895 GB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3324, allocations: 0.9945 MB / 0.4905 GB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.3332, allocations: 0.6391 MB / 0.4911 GB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3333, allocations: 4 kB / 0.4911 GB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003257/0.3365, allocations: 1.939 MB / 0.493 GB, free: 8.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.3366, allocations: 16 kB / 0.493 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002167/0.3387, allocations: 1.183 MB / 0.4942 GB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.34, allocations: 449.2 kB / 0.4946 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.3409, allocations: 255.6 kB / 0.4948 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.3477, allocations: 5.604 MB / 0.5003 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.3487, allocations: 64.02 kB / 0.5004 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.3488, allocations: 68 kB / 0.5004 GB, free: 1.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000741/0.3496, allocations: 463.3 kB / 0.5009 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3497, allocations: 90.88 kB / 0.501 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.352, allocations: 1.376 MB / 0.5023 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.352, allocations: 8 kB / 0.5023 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.352, allocations: 4 kB / 0.5023 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.352, allocations: 3.984 kB / 0.5023 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.3558, allocations: 2.485 MB / 0.5048 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3559, allocations: 3.984 kB / 0.5048 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.3564, allocations: 131.8 kB / 0.5049 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.3569, allocations: 186.4 kB / 0.5051 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.357, allocations: 24.11 kB / 0.5051 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.3605, allocations: 4.649 MB / 0.5096 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.3605, allocations: 7.984 kB / 0.5096 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.363, allocations: 1.888 MB / 0.5115 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.3634, allocations: 224 kB / 0.5117 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.3635, allocations: 24 kB / 0.5117 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.3639, allocations: 27.97 kB / 0.5117 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.364, allocations: 64.47 kB / 0.5118 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.364, allocations: 23.98 kB / 0.5118 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005834/0.3646, allocations: 495 kB / 0.5123 GB, free: 4.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3646, allocations: 4 kB / 0.5123 GB, free: 4.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3658, allocations: 324 kB / 0.5126 GB, free: 3.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002611/0.3684, allocations: 2.8 MB / 0.5153 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3708, allocations: 1.529 MB / 0.5168 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3709, allocations: 0 / 0.5168 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.3721, allocations: 0.8244 MB / 0.5176 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.3728, allocations: 147.2 kB / 0.5178 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.3879, allocations: 20.54 MB / 0.5378 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/0.3889, allocations: 1.35 MB / 0.5392 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008908/0.3898, allocations: 360.5 kB / 0.5395 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.3903, allocations: 467.3 kB / 0.5399 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3903, allocations: 3.938 kB / 0.54 GB, free: 7.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.4304, allocations: 20.39 MB / 0.5599 GB, free: 2.938 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.4306, allocations: 217.9 kB / 0.5601 GB, free: 2.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.355, allocations: 0 / 0.5601 GB, free: 2.695 MB / 430.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat does not exist to compare? outputFormat=mat