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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 176.2 kB / 8.348 MB, free: 0.7266 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.688/1.688, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 75.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1785/0.1785, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.941e-05, allocations: 4 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 56.33 MB / 467 MB, free: 6.465 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.5809, allocations: 109.2 MB / 0.5627 GB, free: 1.566 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5813, allocations: 83.95 kB / 0.5628 GB, free: 1.484 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1153/0.6965, allocations: 40.59 MB / 0.6024 GB, free: 8.422 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6966, allocations: 0 / 0.6024 GB, free: 8.422 MB / 443.1 MB Notification: Performance of Transformations before backend: time 7.042e-05/0.6967, allocations: 28 kB / 0.6024 GB, free: 8.395 MB / 443.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.002771/0.6994, allocations: 1.341 MB / 0.6037 GB, free: 7 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6995, allocations: 12.03 kB / 0.6038 GB, free: 6.988 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.7018, allocations: 341.8 kB / 0.6041 GB, free: 6.652 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.7064, allocations: 1.806 MB / 0.6058 GB, free: 4.801 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.7065, allocations: 39.98 kB / 0.6059 GB, free: 4.762 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.7067, allocations: 79.91 kB / 0.606 GB, free: 4.684 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/0.709, allocations: 1.372 MB / 0.6073 GB, free: 3.309 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.7116, allocations: 1.821 MB / 0.6091 GB, free: 1.332 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.7117, allocations: 11.94 kB / 0.6091 GB, free: 1.32 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.7118, allocations: 7.938 kB / 0.6091 GB, free: 1.312 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003002/0.7121, allocations: 162.4 kB / 0.6092 GB, free: 1.152 MB / 443.1 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.01065/0.7228, allocations: 8.833 MB / 0.6179 GB, free: 7.867 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.7239, allocations: 0.8016 MB / 0.6187 GB, free: 7.031 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.7246, allocations: 484 kB / 0.6191 GB, free: 6.555 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.7246, allocations: 16.77 kB / 0.6191 GB, free: 6.535 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.7247, allocations: 47.28 kB / 0.6192 GB, free: 6.48 MB / 459.1 MB Notification: Performance of pre-optimization done (n=93): time 4.689e-06/0.7247, allocations: 0 / 0.6192 GB, free: 6.48 MB / 459.1 MB Notification: Performance of matching and sorting (n=97): time 0.004982/0.7297, allocations: 2.893 MB / 0.622 GB, free: 3.469 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.7298, allocations: 89.89 kB / 0.6221 GB, free: 3.363 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.7306, allocations: 0.5738 MB / 0.6227 GB, free: 2.785 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.7306, allocations: 29.64 kB / 0.6227 GB, free: 2.75 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.7311, allocations: 0.6728 MB / 0.6233 GB, free: 2.066 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.7314, allocations: 339 kB / 0.6237 GB, free: 1.73 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.7314, allocations: 0 / 0.6237 GB, free: 1.73 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.7316, allocations: 406.7 kB / 0.624 GB, free: 1.324 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.7323, allocations: 467.1 kB / 0.6245 GB, free: 0.8711 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.7333, allocations: 0.9699 MB / 0.6254 GB, free: 15.66 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.7343, allocations: 0.6653 MB / 0.6261 GB, free: 15 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.7343, allocations: 8 kB / 0.6261 GB, free: 14.99 MB / 475.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003306/0.7376, allocations: 1.869 MB / 0.6279 GB, free: 13.11 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.7377, allocations: 15.95 kB / 0.6279 GB, free: 13.09 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002214/0.7399, allocations: 1.264 MB / 0.6292 GB, free: 11.82 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7412, allocations: 434.4 kB / 0.6296 GB, free: 11.39 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.7421, allocations: 259.5 kB / 0.6298 GB, free: 11.13 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.7482, allocations: 5.119 MB / 0.6348 GB, free: 5.785 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.7491, allocations: 39.95 kB / 0.6349 GB, free: 5.746 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.7492, allocations: 75.94 kB / 0.6349 GB, free: 5.672 MB / 475.1 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.0002413/0.7494, allocations: 158.3 kB / 0.6351 GB, free: 5.512 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002113/0.7515, allocations: 1.36 MB / 0.6364 GB, free: 4.078 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7517, allocations: 94.95 kB / 0.6365 GB, free: 3.984 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.7541, allocations: 1.484 MB / 0.638 GB, free: 2.422 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.7541, allocations: 16 kB / 0.638 GB, free: 2.406 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7541, allocations: 0 / 0.638 GB, free: 2.406 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.7541, allocations: 7.969 kB / 0.638 GB, free: 2.398 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3426/1.097, allocations: 2.477 MB / 0.6404 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.097, allocations: 3.016 kB / 0.6404 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/1.098, allocations: 145.7 kB / 0.6405 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006422/1.098, allocations: 173.1 kB / 0.6407 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.878e-05/1.098, allocations: 16.7 kB / 0.6407 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/1.102, allocations: 4.423 MB / 0.645 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.102, allocations: 2.219 kB / 0.645 GB, free: 123.9 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/1.106, allocations: 2.091 MB / 0.6471 GB, free: 123.3 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/1.107, allocations: 239.4 kB / 0.6473 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.107, allocations: 11.3 kB / 0.6473 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/1.107, allocations: 31.95 kB / 0.6474 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.108, allocations: 69.91 kB / 0.6474 GB, free: 123.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/1.108, allocations: 22.88 kB / 0.6474 GB, free: 123.2 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0007491/1.108, allocations: 426.2 kB / 0.6479 GB, free: 123.1 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.109, allocations: 0.9844 kB / 0.6479 GB, free: 123.1 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001767/1.11, allocations: 327 kB / 0.6482 GB, free: 123.1 MB / 475.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 () * 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.004053/1.114, allocations: 3.043 MB / 0.6511 GB, free: 121.7 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/1.118, allocations: 1.525 MB / 0.6526 GB, free: 121.5 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.118, allocations: 0 / 0.6526 GB, free: 121.5 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.119, allocations: 0.8736 MB / 0.6535 GB, free: 121.2 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.12, allocations: 137.7 kB / 0.6536 GB, free: 121.1 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/1.127, allocations: 2.644 MB / 0.6562 GB, free: 120.6 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.129, allocations: 1.346 MB / 0.6575 GB, free: 119.9 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001231/1.13, allocations: 363.7 kB / 0.6579 GB, free: 119.9 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/1.13, allocations: 469.5 kB / 0.6583 GB, free: 119.9 MB / 475.1 MB Notification: Performance of SimCode: time 2.255e-06/1.13, allocations: 3.281 kB / 0.6583 GB, free: 119.9 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/1.189, allocations: 20.54 MB / 0.6784 GB, free: 118.9 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/1.189, allocations: 150.8 kB / 0.6785 GB, free: 118.7 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.842, allocations: 0 / 0.6785 GB, free: 118.7 MB / 475.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) 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