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.0009524/0.0009524, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.2/1.2, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007954/0.000795, allocations: 94.98 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1657/0.1657, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 11.98 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2359, allocations: 56.32 MB / 480.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.3682, allocations: 110 MB / 0.5765 GB, free: 8.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3685, allocations: 91.95 kB / 0.5766 GB, free: 8.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1114/0.4799, allocations: 40.95 MB / 0.6166 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.4799, allocations: 0 / 0.6166 GB, free: 14.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.573e-05/0.48, allocations: 31.92 kB / 0.6166 GB, free: 14.85 MB / 458.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.003825/0.4839, allocations: 1.462 MB / 0.6181 GB, free: 13.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4839, allocations: 8.031 kB / 0.6181 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005634/0.4845, allocations: 211.4 kB / 0.6183 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.4869, allocations: 349.9 kB / 0.6186 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.4919, allocations: 1.818 MB / 0.6204 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.492, allocations: 94.41 kB / 0.6205 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.4924, allocations: 123.9 kB / 0.6206 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.4959, allocations: 2.021 MB / 0.6226 GB, free: 8.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.4959, allocations: 11.94 kB / 0.6226 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.4961, allocations: 59.97 kB / 0.6226 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/0.4964, allocations: 158.4 kB / 0.6228 GB, free: 8.273 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.4991, allocations: 1.579 MB / 0.6243 GB, free: 6.688 MB / 458.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.01022/0.5093, allocations: 9.147 MB / 0.6333 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5104, allocations: 0.8351 MB / 0.6341 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.5105, allocations: 17.06 kB / 0.6341 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5105, allocations: 47.55 kB / 0.6341 GB, free: 12.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.507e-06/0.5105, allocations: 0 / 0.6341 GB, free: 12.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.00545/0.516, allocations: 3.664 MB / 0.6377 GB, free: 8.289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.5161, allocations: 94.12 kB / 0.6378 GB, free: 8.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.5169, allocations: 0.6245 MB / 0.6384 GB, free: 7.547 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.5169, allocations: 37.7 kB / 0.6385 GB, free: 7.504 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.5174, allocations: 0.665 MB / 0.6391 GB, free: 6.828 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.5176, allocations: 343.1 kB / 0.6394 GB, free: 6.488 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.5177, allocations: 31.98 kB / 0.6395 GB, free: 6.457 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5179, allocations: 406.7 kB / 0.6399 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.5186, allocations: 0.4911 MB / 0.6403 GB, free: 5.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.5196, allocations: 1.002 MB / 0.6413 GB, free: 4.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/0.5206, allocations: 0.6899 MB / 0.642 GB, free: 3.633 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5206, allocations: 4 kB / 0.642 GB, free: 3.629 MB / 474.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003367/0.524, allocations: 2.028 MB / 0.644 GB, free: 1.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.524, allocations: 12 kB / 0.644 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002223/0.5262, allocations: 1.332 MB / 0.6453 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1753/0.7015, allocations: 452.2 kB / 0.6457 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7026, allocations: 257.7 kB / 0.646 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.7088, allocations: 5.583 MB / 0.6514 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.7097, allocations: 68 kB / 0.6515 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.7098, allocations: 64.52 kB / 0.6515 GB, free: 123.5 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 () * Number of clocked 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.0007697/0.7106, allocations: 465.8 kB / 0.652 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.7107, allocations: 95.16 kB / 0.6521 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.7133, allocations: 1.55 MB / 0.6536 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/0.7133, allocations: 18.3 kB / 0.6536 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.7133, allocations: 6.312 kB / 0.6536 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7134, allocations: 8.484 kB / 0.6536 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.7177, allocations: 2.731 MB / 0.6563 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7177, allocations: 1.406 kB / 0.6563 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.7183, allocations: 145.8 kB / 0.6564 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.7189, allocations: 181.8 kB / 0.6566 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.7189, allocations: 28.5 kB / 0.6566 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.722, allocations: 4.651 MB / 0.6612 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.722, allocations: 7.922 kB / 0.6612 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.7249, allocations: 2.173 MB / 0.6633 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.7254, allocations: 239.2 kB / 0.6635 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.7255, allocations: 24.66 kB / 0.6635 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.726, allocations: 46.16 kB / 0.6636 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.7261, allocations: 59.14 kB / 0.6636 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.7262, allocations: 28.09 kB / 0.6637 GB, free: 117.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000635/0.7268, allocations: 475.6 kB / 0.6641 GB, free: 117.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7268, allocations: 0 / 0.6641 GB, free: 117.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001383/0.7282, allocations: 373.7 kB / 0.6645 GB, free: 117.7 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 () * Number of clocked 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.003022/0.7312, allocations: 3.12 MB / 0.6675 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.734, allocations: 1.677 MB / 0.6692 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.734, allocations: 0 / 0.6692 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.7353, allocations: 0.9211 MB / 0.6701 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.736, allocations: 147.5 kB / 0.6702 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.748, allocations: 19.45 MB / 0.6892 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.7488, allocations: 1.345 MB / 0.6905 GB, free: 99.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009026/0.7497, allocations: 364.2 kB / 0.6909 GB, free: 99.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.7501, allocations: 456.7 kB / 0.6913 GB, free: 99.15 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7501, allocations: 0 / 0.6913 GB, free: 99.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.7841, allocations: 21.51 MB / 0.7123 GB, free: 97.97 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.7843, allocations: 216.2 kB / 0.7125 GB, free: 97.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.094, allocations: 0 / 0.7125 GB, free: 97.73 MB / 474.7 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