Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001756/0.001756, allocations: 179.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.697/1.697, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001729/0.00173, allocations: 128.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1732/0.1732, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.19e-05, allocations: 4 kB / 390.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2786, allocations: 53.22 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.6761, allocations: 104.3 MB / 0.5352 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.6765, allocations: 89.05 kB / 0.5353 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07522/0.7518, allocations: 29.43 MB / 0.564 GB, free: 32.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.7518, allocations: 0 / 0.564 GB, free: 32.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.834e-05/0.7519, allocations: 19.53 kB / 0.564 GB, free: 32.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001808/0.7537, allocations: 1.107 MB / 0.5651 GB, free: 31.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7537, allocations: 11.72 kB / 0.5651 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.7551, allocations: 254.8 kB / 0.5654 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.7584, allocations: 1.434 MB / 0.5668 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.7584, allocations: 31.23 kB / 0.5668 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7585, allocations: 50.67 kB / 0.5668 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/0.7597, allocations: 0.8867 MB / 0.5677 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7611, allocations: 1.209 MB / 0.5689 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.7612, allocations: 7.844 kB / 0.5689 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.7613, allocations: 3.906 kB / 0.5689 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.7614, allocations: 98.88 kB / 0.569 GB, free: 30.46 MB / 378.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.004668/0.7661, allocations: 5.601 MB / 0.5745 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.767, allocations: 0.791 MB / 0.5752 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.7673, allocations: 360.5 kB / 0.5756 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.7674, allocations: 7.969 kB / 0.5756 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/0.7679, allocations: 0.5033 MB / 0.5761 GB, free: 25.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.375e-06/0.7679, allocations: 0 / 0.5761 GB, free: 25.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.002613/0.7706, allocations: 1.921 MB / 0.5779 GB, free: 24.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.7706, allocations: 166.6 kB / 0.5781 GB, free: 24.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.7712, allocations: 0.5078 MB / 0.5786 GB, free: 24.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.7712, allocations: 29.73 kB / 0.5786 GB, free: 24.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.7715, allocations: 0.5081 MB / 0.5791 GB, free: 24.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.7717, allocations: 247.7 kB / 0.5794 GB, free: 24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.7717, allocations: 0 / 0.5794 GB, free: 24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7718, allocations: 390.6 kB / 0.5797 GB, free: 23.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.7722, allocations: 346.1 kB / 0.5801 GB, free: 23.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.7728, allocations: 0.7337 MB / 0.5808 GB, free: 23.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.7734, allocations: 499.4 kB / 0.5813 GB, free: 22.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7734, allocations: 7.844 kB / 0.5813 GB, free: 22.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002047/0.7755, allocations: 1.333 MB / 0.5826 GB, free: 22.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.7755, allocations: 37.42 kB / 0.5826 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001255/0.7768, allocations: 0.8388 MB / 0.5834 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.7775, allocations: 248.9 kB / 0.5837 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.7782, allocations: 230.8 kB / 0.5839 GB, free: 22.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.7814, allocations: 3.836 MB / 0.5876 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.7822, allocations: 43.19 kB / 0.5877 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.7823, allocations: 65.55 kB / 0.5877 GB, free: 19.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 1 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.7825, allocations: 183.5 kB / 0.5879 GB, free: 19.29 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001067/0.7836, allocations: 0.7917 MB / 0.5887 GB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.7837, allocations: 74.31 kB / 0.5887 GB, free: 19.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.7849, allocations: 0.8927 MB / 0.5896 GB, free: 18.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.785, allocations: 11.81 kB / 0.5896 GB, free: 18.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.785, allocations: 0 / 0.5896 GB, free: 18.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.785, allocations: 3.984 kB / 0.5896 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.7873, allocations: 1.729 MB / 0.5913 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7873, allocations: 3.906 kB / 0.5913 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.788, allocations: 169 kB / 0.5915 GB, free: 18.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.788, allocations: 3.906 kB / 0.5915 GB, free: 18.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.7881, allocations: 15.45 kB / 0.5915 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7881, allocations: 3.906 kB / 0.5915 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7881, allocations: 160 / 0.5915 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7897, allocations: 1.467 MB / 0.5929 GB, free: 17.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.79, allocations: 219 kB / 0.5931 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.7901, allocations: 7.688 kB / 0.5932 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.7905, allocations: 35.34 kB / 0.5932 GB, free: 17.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7906, allocations: 50.64 kB / 0.5932 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.7907, allocations: 46.92 kB / 0.5933 GB, free: 17.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003908/0.7911, allocations: 375.8 kB / 0.5936 GB, free: 17.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7911, allocations: 0 / 0.5936 GB, free: 17.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001025/0.7921, allocations: 233.2 kB / 0.5939 GB, free: 17.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/0.7941, allocations: 2.483 MB / 0.5963 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.7959, allocations: 1.227 MB / 0.5975 GB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7959, allocations: 0 / 0.5975 GB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.7964, allocations: 0.4896 MB / 0.598 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.7969, allocations: 108 kB / 0.5981 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.7998, allocations: 1.812 MB / 0.5998 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.8004, allocations: 1.142 MB / 0.601 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006983/0.8011, allocations: 295.5 kB / 0.6012 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.8015, allocations: 339.8 kB / 0.6016 GB, free: 13.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.8015, allocations: 3.938 kB / 0.6016 GB, free: 13.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.8346, allocations: 15.34 MB / 0.6165 GB, free: 14.51 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.8348, allocations: 140.3 kB / 0.6167 GB, free: 14.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.21, allocations: 4 kB / 0.6167 GB, free: 14.31 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)