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.001552/0.001552, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 86.64 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2519/0.2519, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.054e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 56.33 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.6201, allocations: 109.2 MB / 0.562 GB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.6204, allocations: 90.44 kB / 0.5621 GB, free: 2.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1877/0.8082, allocations: 40.58 MB / 0.6017 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8082, allocations: 0 / 0.6017 GB, free: 15.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.8084, allocations: 28 kB / 0.6017 GB, free: 15.78 MB / 410.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.005105/0.8135, allocations: 1.338 MB / 0.603 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.8136, allocations: 16.03 kB / 0.603 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/0.8177, allocations: 333.8 kB / 0.6034 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007791/0.8255, allocations: 1.803 MB / 0.6051 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.136e-05/0.8256, allocations: 40 kB / 0.6052 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.8261, allocations: 83.33 kB / 0.6052 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004334/0.8305, allocations: 1.37 MB / 0.6066 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.8358, allocations: 1.824 MB / 0.6084 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.623e-05/0.8359, allocations: 7.938 kB / 0.6084 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.8361, allocations: 4 kB / 0.6084 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005025/0.8366, allocations: 163.8 kB / 0.6085 GB, free: 9.844 MB / 410.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.01899/0.8556, allocations: 8.845 MB / 0.6172 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.8576, allocations: 0.7899 MB / 0.6179 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.8588, allocations: 490.5 kB / 0.6184 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.859, allocations: 20.69 kB / 0.6184 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.859, allocations: 39.34 kB / 0.6185 GB, free: 15.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 4.168e-06/0.859, allocations: 3.938 kB / 0.6185 GB, free: 15.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.008534/0.8676, allocations: 2.903 MB / 0.6213 GB, free: 12.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.8677, allocations: 85.89 kB / 0.6214 GB, free: 12.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.8689, allocations: 0.5777 MB / 0.6219 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.8691, allocations: 25.7 kB / 0.622 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006464/0.8698, allocations: 0.7025 MB / 0.6227 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.8704, allocations: 339 kB / 0.623 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.8705, allocations: 3.938 kB / 0.623 GB, free: 10.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.8707, allocations: 366.8 kB / 0.6233 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.8719, allocations: 471.2 kB / 0.6238 GB, free: 10 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.8736, allocations: 0.9699 MB / 0.6247 GB, free: 8.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.8755, allocations: 0.6692 MB / 0.6254 GB, free: 8.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.8756, allocations: 4 kB / 0.6254 GB, free: 8.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00606/0.8816, allocations: 1.83 MB / 0.6272 GB, free: 6.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.8817, allocations: 15.95 kB / 0.6272 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004292/0.886, allocations: 1.276 MB / 0.6284 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.8885, allocations: 432.7 kB / 0.6288 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.8903, allocations: 259.5 kB / 0.6291 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.901, allocations: 5.127 MB / 0.6341 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9024, allocations: 51.89 kB / 0.6342 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.9026, allocations: 60 kB / 0.6342 GB, free: 14.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (136): * Single equations (assignments): 131 * 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.0003285/0.9029, allocations: 153.6 kB / 0.6344 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003621/0.9065, allocations: 1.356 MB / 0.6357 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.9069, allocations: 98.77 kB / 0.6358 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.9109, allocations: 1.484 MB / 0.6372 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/0.911, allocations: 20 kB / 0.6372 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.9111, allocations: 4 kB / 0.6372 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.9111, allocations: 7.984 kB / 0.6373 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.918, allocations: 2.472 MB / 0.6397 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.9181, allocations: 0 / 0.6397 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.9193, allocations: 151.7 kB / 0.6398 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.9203, allocations: 182.5 kB / 0.64 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.9204, allocations: 15.98 kB / 0.64 GB, free: 8.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005393/0.9258, allocations: 4.423 MB / 0.6443 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.9259, allocations: 0 / 0.6443 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/0.9307, allocations: 2.094 MB / 0.6464 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/0.9315, allocations: 240 kB / 0.6466 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.9317, allocations: 12 kB / 0.6466 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.9326, allocations: 35.88 kB / 0.6466 GB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.9328, allocations: 64.59 kB / 0.6467 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.9329, allocations: 23.98 kB / 0.6467 GB, free: 1.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008437/0.9337, allocations: 427.1 kB / 0.6471 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9337, allocations: 3.938 kB / 0.6471 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002117/0.9359, allocations: 328 kB / 0.6474 GB, free: 0.4922 MB / 442.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.006207/0.9421, allocations: 3.035 MB / 0.6504 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.9467, allocations: 1.534 MB / 0.6519 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9467, allocations: 0 / 0.6519 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.9493, allocations: 0.8631 MB / 0.6528 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.9507, allocations: 135.6 kB / 0.6529 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/0.96, allocations: 2.766 MB / 0.6556 GB, free: 7.914 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.9617, allocations: 1.35 MB / 0.6569 GB, free: 6.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.9629, allocations: 475.3 kB / 0.6574 GB, free: 6.066 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.963, allocations: 0 / 0.6574 GB, free: 6.066 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.26/4.223, allocations: 30.44 MB / 0.6871 GB, free: 7.578 MB / 490.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)