Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.002131/0.00213, allocations: 181.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001091/0.001091, allocations: 90.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2469/0.2469, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.442e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 56.33 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.6074, allocations: 109.4 MB / 0.5622 GB, free: 2.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.6078, allocations: 91.08 kB / 0.5623 GB, free: 2.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1337/0.7415, allocations: 29.46 MB / 0.591 GB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7416, allocations: 4 kB / 0.591 GB, free: 9.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.707e-05/0.7417, allocations: 24 kB / 0.5911 GB, free: 9.016 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.003669/0.7454, allocations: 1.1 MB / 0.5921 GB, free: 7.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7454, allocations: 8.031 kB / 0.5921 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.7485, allocations: 262.3 kB / 0.5924 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.7547, allocations: 1.423 MB / 0.5938 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.7548, allocations: 28 kB / 0.5938 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.7551, allocations: 51.94 kB / 0.5939 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003116/0.7582, allocations: 0.8855 MB / 0.5947 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.7635, allocations: 1.214 MB / 0.5959 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.524e-05/0.7636, allocations: 11.5 kB / 0.5959 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.7638, allocations: 4 kB / 0.5959 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.7643, allocations: 101 kB / 0.596 GB, free: 4.605 MB / 394.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.01505/0.7794, allocations: 5.594 MB / 0.6015 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.7813, allocations: 0.7877 MB / 0.6022 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/0.7822, allocations: 350.1 kB / 0.6026 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.7823, allocations: 16.53 kB / 0.6026 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.7834, allocations: 0.5026 MB / 0.6031 GB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 3.667e-06/0.7834, allocations: 0 / 0.6031 GB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.005078/0.7885, allocations: 1.924 MB / 0.605 GB, free: 12.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.7887, allocations: 174.1 kB / 0.6051 GB, free: 12.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.7898, allocations: 0.4995 MB / 0.6056 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.79, allocations: 25.7 kB / 0.6056 GB, free: 11.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007039/0.7907, allocations: 0.545 MB / 0.6062 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.7913, allocations: 248.7 kB / 0.6064 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.7914, allocations: 4 kB / 0.6064 GB, free: 11.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.7917, allocations: 361.8 kB / 0.6068 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.7931, allocations: 345.1 kB / 0.6071 GB, free: 10.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.795, allocations: 0.7299 MB / 0.6078 GB, free: 9.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.7972, allocations: 0.4924 MB / 0.6083 GB, free: 9.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.7973, allocations: 7.953 kB / 0.6083 GB, free: 9.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.006545/0.8039, allocations: 1.307 MB / 0.6096 GB, free: 8.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.804, allocations: 37.7 kB / 0.6096 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004246/0.8083, allocations: 0.8462 MB / 0.6104 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.8103, allocations: 241.1 kB / 0.6107 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.8127, allocations: 222.8 kB / 0.6109 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009971/0.8227, allocations: 3.844 MB / 0.6146 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.8247, allocations: 39.95 kB / 0.6147 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.825, allocations: 63.97 kB / 0.6147 GB, free: 3.156 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 () * 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.0005111/0.8255, allocations: 182.3 kB / 0.6149 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003534/0.8291, allocations: 0.7986 MB / 0.6157 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.8295, allocations: 75.06 kB / 0.6158 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.8336, allocations: 0.8744 MB / 0.6166 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/0.8337, allocations: 12 kB / 0.6166 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.8337, allocations: 3.938 kB / 0.6166 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.8338, allocations: 7.938 kB / 0.6166 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/0.8417, allocations: 1.743 MB / 0.6183 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.8418, allocations: 4 kB / 0.6183 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.8445, allocations: 171.9 kB / 0.6185 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/0.8446, allocations: 4 kB / 0.6185 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.8447, allocations: 15.98 kB / 0.6185 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.8448, allocations: 4 kB / 0.6185 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/0.8448, allocations: 4 kB / 0.6185 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/0.8505, allocations: 1.461 MB / 0.62 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008896/0.8515, allocations: 216.1 kB / 0.6202 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.8517, allocations: 8 kB / 0.6202 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.8529, allocations: 31.95 kB / 0.6202 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.8531, allocations: 40.5 kB / 0.6202 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.8534, allocations: 51.89 kB / 0.6203 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000973/0.8543, allocations: 371.1 kB / 0.6206 GB, free: 12.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.8544, allocations: 0 / 0.6206 GB, free: 12.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002105/0.8565, allocations: 235.9 kB / 0.6209 GB, free: 12.7 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) * 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.004737/0.8613, allocations: 2.489 MB / 0.6233 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.8645, allocations: 1.219 MB / 0.6245 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8645, allocations: 128 / 0.6245 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.8658, allocations: 0.4975 MB / 0.625 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.8669, allocations: 103.5 kB / 0.6251 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/0.8729, allocations: 1.907 MB / 0.6269 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.8742, allocations: 1.127 MB / 0.628 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/0.8751, allocations: 347.3 kB / 0.6284 GB, free: 4.812 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8751, allocations: 4 kB / 0.6284 GB, free: 4.809 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.194/4.069, allocations: 18.42 MB / 0.6464 GB, free: 2.359 MB / 442.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)