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.002337/0.002337, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001141/0.00114, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2562/0.2562, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006649, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.122, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6196, allocations: 110.2 MB / 0.5755 GB, free: 5.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.62, allocations: 97.31 kB / 0.5756 GB, free: 5.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.754, allocations: 29.75 MB / 0.6046 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.7541, allocations: 0 / 0.6046 GB, free: 11.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.7542, allocations: 27.94 kB / 0.6046 GB, free: 11.77 MB / 410.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.003549/0.7577, allocations: 1.195 MB / 0.6058 GB, free: 10.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.7578, allocations: 8.031 kB / 0.6058 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/0.7581, allocations: 164 kB / 0.606 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.7606, allocations: 254.5 kB / 0.6062 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.7666, allocations: 1.439 MB / 0.6076 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.7668, allocations: 59.98 kB / 0.6077 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.767, allocations: 84.36 kB / 0.6078 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.7701, allocations: 1.349 MB / 0.6091 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.7702, allocations: 11.84 kB / 0.6091 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.7703, allocations: 36.73 kB / 0.6091 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002743/0.7706, allocations: 97.31 kB / 0.6092 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.7733, allocations: 1.033 MB / 0.6102 GB, free: 6.898 MB / 410.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.0102/0.7835, allocations: 5.771 MB / 0.6159 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.7854, allocations: 0.816 MB / 0.6167 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.963e-05/0.7855, allocations: 16.53 kB / 0.6167 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.7867, allocations: 0.5167 MB / 0.6172 GB, free: 436 kB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 3.387e-06/0.7867, allocations: 0 / 0.6172 GB, free: 436 kB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.005957/0.7927, allocations: 2.627 MB / 0.6197 GB, free: 14.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.7928, allocations: 173.3 kB / 0.6199 GB, free: 14.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.7938, allocations: 0.5397 MB / 0.6204 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.7939, allocations: 37.2 kB / 0.6205 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.7944, allocations: 0.5454 MB / 0.621 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.7948, allocations: 252.9 kB / 0.6212 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.7949, allocations: 22.19 kB / 0.6213 GB, free: 12.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7951, allocations: 365.4 kB / 0.6216 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.796, allocations: 369.5 kB / 0.622 GB, free: 12.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.7973, allocations: 0.7605 MB / 0.6227 GB, free: 11.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7985, allocations: 0.5315 MB / 0.6232 GB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7986, allocations: 4 kB / 0.6232 GB, free: 11.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003969/0.8026, allocations: 1.449 MB / 0.6246 GB, free: 9.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.8026, allocations: 37.7 kB / 0.6247 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002645/0.8053, allocations: 0.8869 MB / 0.6255 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.8065, allocations: 253.5 kB / 0.6258 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.808, allocations: 215.6 kB / 0.626 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/0.8151, allocations: 4.135 MB / 0.63 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.8163, allocations: 63.86 kB / 0.6301 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.8165, allocations: 59.97 kB / 0.6302 GB, free: 4.199 MB / 426.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.0008801/0.8174, allocations: 403 kB / 0.6305 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.8175, allocations: 79 kB / 0.6306 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.8201, allocations: 0.9547 MB / 0.6315 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.8202, allocations: 19.94 kB / 0.6316 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8202, allocations: 0 / 0.6316 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.8202, allocations: 3.984 kB / 0.6316 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.8251, allocations: 1.922 MB / 0.6334 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.8251, allocations: 0 / 0.6334 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.8266, allocations: 168 kB / 0.6336 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.8267, allocations: 8 kB / 0.6336 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.8268, allocations: 19.98 kB / 0.6336 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.8268, allocations: 11.92 kB / 0.6336 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8268, allocations: 0 / 0.6336 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.8304, allocations: 1.539 MB / 0.6351 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.831, allocations: 212.2 kB / 0.6353 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.8312, allocations: 16 kB / 0.6354 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.832, allocations: 51.88 kB / 0.6354 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.8321, allocations: 44.5 kB / 0.6355 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.8323, allocations: 43.95 kB / 0.6355 GB, free: 14.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008127/0.8331, allocations: 411 kB / 0.6359 GB, free: 14.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8331, allocations: 0 / 0.6359 GB, free: 14.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001513/0.8346, allocations: 267.9 kB / 0.6361 GB, free: 13.86 MB / 442.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.004232/0.8389, allocations: 2.58 MB / 0.6387 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.8422, allocations: 1.296 MB / 0.6399 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.8422, allocations: 0 / 0.6399 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.8433, allocations: 0.5078 MB / 0.6404 GB, free: 9.344 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8444, allocations: 119.5 kB / 0.6405 GB, free: 9.227 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.8623, allocations: 14.87 MB / 0.6551 GB, free: 10 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.8634, allocations: 1.127 MB / 0.6562 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008392/0.8643, allocations: 347.3 kB / 0.6565 GB, free: 8.512 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8643, allocations: 0 / 0.6565 GB, free: 8.512 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.152/4.016, allocations: 18.38 MB / 0.6744 GB, free: 6.117 MB / 474.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)