Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 178.2 kB / 16.07 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007881/0.000788, allocations: 88.86 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1618/0.1618, allocations: 38.08 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 20 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 56.33 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006906/0.2487, allocations: 8.631 MB / 488.4 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.2537, allocations: 3.275 MB / 491.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2548, allocations: 57.62 kB / 491.7 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007686/0.2555, allocations: 286.8 kB / 492 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.2577, allocations: 0.9347 MB / 492.9 MB, free: 356 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.2594, allocations: 0.61 MB / 493.5 MB, free: 100 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.2626, allocations: 2.516 MB / 496 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.2645, allocations: 1.064 MB / 497.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.2661, allocations: 0.6793 MB / 497.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.268, allocations: 1.127 MB / 498.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.2682, allocations: 60.72 kB / 499 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2695, allocations: 0.5072 MB / 499.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.2704, allocations: 0.7415 MB / 0.4885 GB, free: 13.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008956/0.2713, allocations: 0.6792 MB / 0.4892 GB, free: 13.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.2732, allocations: 1.5 MB / 0.4906 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2732, allocations: 0 / 0.4906 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2732, allocations: 0 / 0.4906 GB, free: 12.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.625e-05/0.2733, allocations: 0 / 0.4906 GB, free: 12.06 MB / 330.7 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.002947/0.2762, allocations: 1.404 MB / 0.492 GB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2763, allocations: 13.75 kB / 0.492 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/0.2766, allocations: 212.5 kB / 0.4922 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.2782, allocations: 281.3 kB / 0.4925 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.2799, allocations: 0.8622 MB / 0.4933 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.28, allocations: 96.23 kB / 0.4934 GB, free: 10 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.2804, allocations: 157.4 kB / 0.4936 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.2837, allocations: 2.071 MB / 0.4956 GB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.2838, allocations: 12.23 kB / 0.4956 GB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.2839, allocations: 58.62 kB / 0.4957 GB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000454/0.2844, allocations: 173.1 kB / 0.4958 GB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.2871, allocations: 1.671 MB / 0.4974 GB, free: 7.66 MB / 330.7 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.01062/0.2977, allocations: 9.427 MB / 0.5067 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2988, allocations: 0.895 MB / 0.5075 GB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.2994, allocations: 431.5 kB / 0.5079 GB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/0.2995, allocations: 24.64 kB / 0.508 GB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2995, allocations: 43.16 kB / 0.508 GB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 2.895e-06/0.2995, allocations: 3.938 kB / 0.508 GB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.004804/0.3043, allocations: 3.032 MB / 0.511 GB, free: 9.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3044, allocations: 86.11 kB / 0.5111 GB, free: 9.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.3053, allocations: 0.7504 MB / 0.5118 GB, free: 9.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.3054, allocations: 41.7 kB / 0.5118 GB, free: 8.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.3058, allocations: 0.7034 MB / 0.5125 GB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.3061, allocations: 307.7 kB / 0.5128 GB, free: 7.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.3062, allocations: 27.98 kB / 0.5128 GB, free: 7.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3063, allocations: 406.7 kB / 0.5132 GB, free: 7.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.307, allocations: 451.7 kB / 0.5137 GB, free: 7.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009653/0.308, allocations: 1.006 MB / 0.5146 GB, free: 5.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.3098, allocations: 1.598 MB / 0.5162 GB, free: 3.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.3098, allocations: 8 kB / 0.5162 GB, free: 3.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003227/0.313, allocations: 1.946 MB / 0.5181 GB, free: 1.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3131, allocations: 14.03 kB / 0.5181 GB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002041/0.3151, allocations: 1.199 MB / 0.5193 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.3164, allocations: 448.2 kB / 0.5197 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.3172, allocations: 263.5 kB / 0.52 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.3236, allocations: 5.415 MB / 0.5253 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.3244, allocations: 51.98 kB / 0.5253 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3245, allocations: 75.92 kB / 0.5254 GB, free: 10.25 MB / 362.7 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.0007102/0.3252, allocations: 473.1 kB / 0.5258 GB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3254, allocations: 90.81 kB / 0.5259 GB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.3274, allocations: 1.387 MB / 0.5273 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3274, allocations: 8 kB / 0.5273 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3274, allocations: 0 / 0.5273 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.3274, allocations: 7.922 kB / 0.5273 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.331, allocations: 2.493 MB / 0.5297 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.331, allocations: 0 / 0.5297 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.3316, allocations: 135.8 kB / 0.5298 GB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.3321, allocations: 182.5 kB / 0.53 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.3322, allocations: 31.98 kB / 0.5301 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.3354, allocations: 4.59 MB / 0.5345 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3355, allocations: 4.031 kB / 0.5345 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.3379, allocations: 1.844 MB / 0.5363 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.3384, allocations: 224.2 kB / 0.5366 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3385, allocations: 31.98 kB / 0.5366 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3389, allocations: 31.97 kB / 0.5366 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.339, allocations: 68.44 kB / 0.5367 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.3391, allocations: 23.98 kB / 0.5367 GB, free: 13.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005927/0.3397, allocations: 495 kB / 0.5372 GB, free: 13.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3397, allocations: 0 / 0.5372 GB, free: 13.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00123/0.3409, allocations: 328 kB / 0.5375 GB, free: 13.1 MB / 378.7 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.002549/0.3435, allocations: 2.41 MB / 0.5398 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.346, allocations: 1.532 MB / 0.5413 GB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.346, allocations: 0.6875 kB / 0.5413 GB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3473, allocations: 0.8431 MB / 0.5422 GB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3483, allocations: 156 kB / 0.5423 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.36, allocations: 7.912 MB / 0.55 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/0.3611, allocations: 1.306 MB / 0.5513 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.3616, allocations: 483.3 kB / 0.5518 GB, free: 13.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3616, allocations: 4 kB / 0.5518 GB, free: 13.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.164/5.526, allocations: 28.59 MB / 0.5797 GB, free: 1.164 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)