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.0009665/0.0009665, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.288/1.288, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001707/0.001707, allocations: 113 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1631/0.1631, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 8 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09006, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4685, allocations: 105.1 MB / 0.549 GB, free: 6.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4689, allocations: 103.6 kB / 0.5491 GB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0828/0.5517, allocations: 29.71 MB / 0.5781 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.999e-06/0.5517, allocations: 4 kB / 0.5781 GB, free: 12.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.862e-05/0.5518, allocations: 23.98 kB / 0.5781 GB, free: 12.71 MB / 394.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.003644/0.5555, allocations: 1.2 MB / 0.5793 GB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5555, allocations: 12.02 kB / 0.5793 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005198/0.5561, allocations: 149.5 kB / 0.5795 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5579, allocations: 258.5 kB / 0.5797 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/0.563, allocations: 1.449 MB / 0.5811 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.5631, allocations: 65.05 kB / 0.5812 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.5634, allocations: 82.48 kB / 0.5813 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.5659, allocations: 1.343 MB / 0.5826 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.566, allocations: 7.844 kB / 0.5826 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.5661, allocations: 38.98 kB / 0.5826 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.5663, allocations: 97.38 kB / 0.5827 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.5681, allocations: 1.025 MB / 0.5837 GB, free: 7.848 MB / 394.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.007117/0.5752, allocations: 5.77 MB / 0.5894 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5764, allocations: 0.8249 MB / 0.5902 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.5765, allocations: 8.625 kB / 0.5902 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.5772, allocations: 0.523 MB / 0.5907 GB, free: 1.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.5772, allocations: 0 / 0.5907 GB, free: 1.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.003995/0.5812, allocations: 2.626 MB / 0.5933 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.5813, allocations: 182.6 kB / 0.5934 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.5821, allocations: 0.5285 MB / 0.5939 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.5821, allocations: 39.58 kB / 0.594 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.5825, allocations: 0.5054 MB / 0.5945 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.5828, allocations: 262.2 kB / 0.5947 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.5829, allocations: 25.48 kB / 0.5947 GB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5831, allocations: 387 kB / 0.5951 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.5836, allocations: 377.6 kB / 0.5955 GB, free: 13.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.5845, allocations: 0.7534 MB / 0.5962 GB, free: 12.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.5854, allocations: 0.5365 MB / 0.5967 GB, free: 11.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.5854, allocations: 4 kB / 0.5967 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002642/0.5881, allocations: 1.483 MB / 0.5982 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.5882, allocations: 41.7 kB / 0.5982 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001591/0.5898, allocations: 0.8734 MB / 0.5991 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/0.5905, allocations: 250.7 kB / 0.5993 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.5913, allocations: 227.6 kB / 0.5995 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.5959, allocations: 4.115 MB / 0.6036 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.5967, allocations: 75.84 kB / 0.6036 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.5969, allocations: 59.97 kB / 0.6037 GB, free: 4.57 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * 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.0007146/0.5976, allocations: 393.7 kB / 0.6041 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.5977, allocations: 79.02 kB / 0.6041 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.5994, allocations: 0.9625 MB / 0.6051 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.5995, allocations: 12 kB / 0.6051 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5995, allocations: 3.984 kB / 0.6051 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5995, allocations: 0 / 0.6051 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.603, allocations: 1.938 MB / 0.607 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6031, allocations: 0 / 0.607 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.6038, allocations: 163.8 kB / 0.6071 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.6039, allocations: 8.156 kB / 0.6071 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.6039, allocations: 19.98 kB / 0.6072 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.604, allocations: 4 kB / 0.6072 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.604, allocations: 4 kB / 0.6072 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6061, allocations: 1.536 MB / 0.6087 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.6065, allocations: 212.1 kB / 0.6089 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6067, allocations: 23.98 kB / 0.6089 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.6071, allocations: 47.77 kB / 0.6089 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6073, allocations: 52.39 kB / 0.609 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.6074, allocations: 39.97 kB / 0.609 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005274/0.6079, allocations: 411 kB / 0.6094 GB, free: 14.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6079, allocations: 0 / 0.6094 GB, free: 14.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001147/0.6091, allocations: 271.9 kB / 0.6097 GB, free: 14.23 MB / 426.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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.002734/0.6118, allocations: 2.559 MB / 0.6122 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.6139, allocations: 1.308 MB / 0.6135 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.614, allocations: 4 kB / 0.6135 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.6146, allocations: 0.5101 MB / 0.614 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.6153, allocations: 127.7 kB / 0.6141 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.6293, allocations: 14.76 MB / 0.6285 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.6305, allocations: 1.139 MB / 0.6296 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008736/0.6314, allocations: 286.1 kB / 0.6299 GB, free: 9.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/0.632, allocations: 339.3 kB / 0.6302 GB, free: 8.715 MB / 442.7 MB Notification: Performance of SimCode: time 1.794e-06/0.632, allocations: 3.938 kB / 0.6302 GB, free: 8.711 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.6695, allocations: 16.24 MB / 0.6461 GB, free: 8.469 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.6698, allocations: 202.7 kB / 0.6463 GB, free: 8.223 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.089, allocations: 0 / 0.6463 GB, free: 8.223 MB / 458.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)