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.001554/0.001554, allocations: 186 kB / 13.19 MB, free: 2.125 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.949/1.949, allocations: 205.2 MB / 218.9 MB, free: 9.219 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.001196/0.001196, allocations: 93.27 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2822/0.2822, allocations: 37.96 MB / 353.1 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.627e-05, allocations: 3.984 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 56.32 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6074, allocations: 109.9 MB / 0.5694 GB, free: 9.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.6078, allocations: 91.94 kB / 0.5695 GB, free: 9.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2438/0.8516, allocations: 40.93 MB / 0.6095 GB, free: 308 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.8517, allocations: 0 / 0.6095 GB, free: 308 kB / 442.7 MB Notification: Performance of Transformations before backend: time 8.686e-05/0.8518, allocations: 32 kB / 0.6095 GB, free: 276 kB / 442.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.004396/0.8562, allocations: 1.341 MB / 0.6108 GB, free: 14.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.8563, allocations: 12.03 kB / 0.6108 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000496/0.8568, allocations: 215.4 kB / 0.611 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.8606, allocations: 345.8 kB / 0.6113 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007512/0.8681, allocations: 1.806 MB / 0.6131 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.8683, allocations: 90.41 kB / 0.6132 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.8686, allocations: 127.9 kB / 0.6133 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.8735, allocations: 2.002 MB / 0.6153 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.519e-05/0.8736, allocations: 7.938 kB / 0.6153 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.8738, allocations: 51.98 kB / 0.6153 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.8743, allocations: 170.4 kB / 0.6155 GB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.8787, allocations: 1.552 MB / 0.617 GB, free: 8.289 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01928/0.898, allocations: 9.146 MB / 0.6259 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.8999, allocations: 0.8241 MB / 0.6267 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.9012, allocations: 0.5084 MB / 0.6272 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.9013, allocations: 20.73 kB / 0.6273 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.9013, allocations: 51.28 kB / 0.6273 GB, free: 13.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.937e-06/0.9014, allocations: 0 / 0.6273 GB, free: 13.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.008742/0.9101, allocations: 3.017 MB / 0.6303 GB, free: 10.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.9102, allocations: 85.89 kB / 0.6303 GB, free: 9.973 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.9115, allocations: 0.6284 MB / 0.631 GB, free: 9.336 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.9118, allocations: 41.64 kB / 0.631 GB, free: 9.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.9124, allocations: 0.6987 MB / 0.6317 GB, free: 8.582 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/0.913, allocations: 347.1 kB / 0.632 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.9131, allocations: 28.03 kB / 0.632 GB, free: 8.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.9133, allocations: 370.8 kB / 0.6324 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.9148, allocations: 487.1 kB / 0.6329 GB, free: 7.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.9166, allocations: 0.999 MB / 0.6338 GB, free: 6.137 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.9184, allocations: 0.6838 MB / 0.6345 GB, free: 5.449 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.9184, allocations: 4 kB / 0.6345 GB, free: 5.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00618/0.9246, allocations: 1.965 MB / 0.6364 GB, free: 3.469 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.9247, allocations: 12 kB / 0.6364 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004274/0.929, allocations: 1.317 MB / 0.6377 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.9315, allocations: 445.2 kB / 0.6381 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.9333, allocations: 259.5 kB / 0.6384 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3255/1.259, allocations: 5.375 MB / 0.6436 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.26, allocations: 71.61 kB / 0.6437 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.26, allocations: 63.38 kB / 0.6438 GB, free: 122.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 3 * 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.0003149/1.261, allocations: 193.3 kB / 0.644 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.261, allocations: 93.38 kB / 0.644 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.265, allocations: 1.533 MB / 0.6455 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.265, allocations: 17.33 kB / 0.6456 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.265, allocations: 2.609 kB / 0.6456 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/1.265, allocations: 9.484 kB / 0.6456 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/1.272, allocations: 2.714 MB / 0.6482 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.272, allocations: 1.156 kB / 0.6482 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.274, allocations: 144.2 kB / 0.6484 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009131/1.274, allocations: 184.5 kB / 0.6485 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.275, allocations: 24.78 kB / 0.6486 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/1.279, allocations: 4.594 MB / 0.653 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.279, allocations: 3.797 kB / 0.653 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/1.284, allocations: 2.139 MB / 0.6551 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/1.285, allocations: 241.5 kB / 0.6554 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/1.285, allocations: 23.64 kB / 0.6554 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/1.286, allocations: 47.12 kB / 0.6554 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.286, allocations: 68.05 kB / 0.6555 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/1.286, allocations: 24.64 kB / 0.6555 GB, free: 116.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009266/1.287, allocations: 468 kB / 0.656 GB, free: 116.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.287, allocations: 0 / 0.656 GB, free: 116.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002002/1.289, allocations: 373.3 kB / 0.6563 GB, free: 116.4 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 72 * Array equations: 3 * 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.005325/1.295, allocations: 3.098 MB / 0.6593 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004519/1.299, allocations: 1.633 MB / 0.6609 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.299, allocations: 3.281 kB / 0.6609 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/1.302, allocations: 0.9041 MB / 0.6618 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.303, allocations: 153.8 kB / 0.662 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/1.312, allocations: 2.861 MB / 0.6648 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.313, allocations: 1.354 MB / 0.6661 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.314, allocations: 464.1 kB / 0.6665 GB, free: 112.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/1.314, allocations: 0 / 0.6665 GB, free: 112.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.364/4.678, allocations: 30.6 MB / 0.6964 GB, free: 109.4 MB / 474.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)