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.001561/0.001561, allocations: 186 kB / 13.19 MB, free: 2.125 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.958/1.958, allocations: 205.2 MB / 218.9 MB, free: 9.223 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.00112/0.00112, allocations: 95.75 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2668/0.2668, allocations: 37.97 MB / 353.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.246e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 56.32 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.5939, allocations: 110.1 MB / 0.5696 GB, free: 9.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5942, allocations: 83.95 kB / 0.5697 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1325/0.7268, allocations: 29.72 MB / 0.5987 GB, free: 11.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7268, allocations: 3.938 kB / 0.5987 GB, free: 11.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.941e-05/0.7269, allocations: 24 kB / 0.5987 GB, free: 11.4 MB / 442.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.002995/0.7299, allocations: 1.105 MB / 0.5998 GB, free: 10.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7299, allocations: 8.031 kB / 0.5998 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002809/0.7302, allocations: 160.1 kB / 0.6 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.7327, allocations: 250.4 kB / 0.6002 GB, free: 9.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/0.7385, allocations: 1.438 MB / 0.6016 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.7386, allocations: 61.98 kB / 0.6017 GB, free: 8.281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.7389, allocations: 83.98 kB / 0.6018 GB, free: 8.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.7419, allocations: 1.318 MB / 0.603 GB, free: 6.777 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.742, allocations: 11.92 kB / 0.6031 GB, free: 6.766 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.7422, allocations: 39.98 kB / 0.6031 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/0.7424, allocations: 97.89 kB / 0.6032 GB, free: 6.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.7452, allocations: 1.015 MB / 0.6042 GB, free: 5.613 MB / 442.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.01028/0.7555, allocations: 5.773 MB / 0.6098 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.7575, allocations: 0.8079 MB / 0.6106 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008664/0.7584, allocations: 371.3 kB / 0.611 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.7585, allocations: 8.562 kB / 0.611 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.7596, allocations: 0.5254 MB / 0.6115 GB, free: 13.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 3.136e-06/0.7597, allocations: 0 / 0.6115 GB, free: 13.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.005042/0.7647, allocations: 2.076 MB / 0.6135 GB, free: 11.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.7649, allocations: 166.8 kB / 0.6137 GB, free: 11.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.7659, allocations: 0.5382 MB / 0.6142 GB, free: 10.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.7659, allocations: 41.73 kB / 0.6142 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/0.7665, allocations: 0.5356 MB / 0.6148 GB, free: 10.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.7668, allocations: 264.4 kB / 0.615 GB, free: 10.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.7669, allocations: 20 kB / 0.615 GB, free: 9.996 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7671, allocations: 354.8 kB / 0.6154 GB, free: 9.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.7681, allocations: 370.5 kB / 0.6157 GB, free: 9.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.7694, allocations: 0.7492 MB / 0.6165 GB, free: 8.344 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.7707, allocations: 0.5305 MB / 0.617 GB, free: 7.805 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.7707, allocations: 4 kB / 0.617 GB, free: 7.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004052/0.7748, allocations: 1.43 MB / 0.6184 GB, free: 6.348 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.7748, allocations: 38.67 kB / 0.6184 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002619/0.7775, allocations: 0.8717 MB / 0.6193 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.7787, allocations: 254.5 kB / 0.6195 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.7802, allocations: 223.6 kB / 0.6197 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.7869, allocations: 4.028 MB / 0.6236 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.788, allocations: 68 kB / 0.6237 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.7882, allocations: 59.98 kB / 0.6238 GB, free: 0.5352 MB / 458.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 (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.0003212/0.7885, allocations: 212.2 kB / 0.624 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7887, allocations: 75.06 kB / 0.624 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.7913, allocations: 0.9415 MB / 0.625 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.7913, allocations: 15.95 kB / 0.625 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7913, allocations: 4 kB / 0.625 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7913, allocations: 3.984 kB / 0.625 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.7961, allocations: 1.928 MB / 0.6269 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7962, allocations: 0 / 0.6269 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.7977, allocations: 163.8 kB / 0.627 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.7977, allocations: 8 kB / 0.627 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/0.7978, allocations: 19.98 kB / 0.6271 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.7978, allocations: 7.938 kB / 0.6271 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7978, allocations: 0 / 0.6271 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.8013, allocations: 1.527 MB / 0.6286 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.8018, allocations: 212.1 kB / 0.6288 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.802, allocations: 23.94 kB / 0.6288 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/0.8028, allocations: 43.89 kB / 0.6288 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.8029, allocations: 48.5 kB / 0.6289 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.8031, allocations: 43.91 kB / 0.6289 GB, free: 11.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007658/0.8038, allocations: 403.1 kB / 0.6293 GB, free: 10.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8038, allocations: 0 / 0.6293 GB, free: 10.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001349/0.8052, allocations: 267.9 kB / 0.6295 GB, free: 10.42 MB / 474.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 (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.004132/0.8094, allocations: 2.555 MB / 0.632 GB, free: 7.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.8125, allocations: 1.277 MB / 0.6333 GB, free: 6.477 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.8126, allocations: 5.625 kB / 0.6333 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.8138, allocations: 0.5025 MB / 0.6338 GB, free: 5.961 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8148, allocations: 123.1 kB / 0.6339 GB, free: 5.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.8205, allocations: 1.969 MB / 0.6358 GB, free: 3.805 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.8217, allocations: 1.131 MB / 0.6369 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/0.8226, allocations: 343.3 kB / 0.6373 GB, free: 2.309 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8226, allocations: 3.938 kB / 0.6373 GB, free: 2.305 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.647/4.47, allocations: 18.48 MB / 0.6553 GB, free: 130.5 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)