Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.001498/0.001502, allocations: 183 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.021/2.021, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001126/0.001127, 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.2914/0.2914, allocations: 38.06 MB / 356.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006156, allocations: 16 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1065, allocations: 56.33 MB / 479.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5824, allocations: 98.93 MB / 0.5645 GB, free: 0.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5828, allocations: 90.08 kB / 0.5646 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04907/0.6319, allocations: 10.93 MB / 0.5753 GB, free: 7.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6319, allocations: 4 kB / 0.5753 GB, free: 7.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.632, allocations: 8 kB / 0.5753 GB, free: 7.293 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001941/0.6339, allocations: 0.7655 MB / 0.576 GB, free: 6.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.634, allocations: 8.031 kB / 0.576 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.6342, allocations: 80.77 kB / 0.5761 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.6343, allocations: 55.3 kB / 0.5762 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/0.6394, allocations: 1.2 MB / 0.5773 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.6395, allocations: 28 kB / 0.5774 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6396, allocations: 42.05 kB / 0.5774 GB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.6408, allocations: 499 kB / 0.5779 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6408, allocations: 0 / 0.5779 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.6409, allocations: 16.12 kB / 0.5779 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.6409, allocations: 28.97 kB / 0.5779 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009236/0.6419, allocations: 368.7 kB / 0.5783 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.6459, allocations: 2.094 MB / 0.5803 GB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.6466, allocations: 241.3 kB / 0.5805 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.6467, allocations: 4.25 kB / 0.5806 GB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6467, allocations: 33.5 kB / 0.5806 GB, free: 2.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/0.6468, allocations: 0 / 0.5806 GB, free: 2.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.002259/0.649, allocations: 0.952 MB / 0.5815 GB, free: 1.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.6491, allocations: 81.11 kB / 0.5816 GB, free: 1.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.6497, allocations: 330.1 kB / 0.5819 GB, free: 1.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.6498, allocations: 32.83 kB / 0.5819 GB, free: 1.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.65, allocations: 329.3 kB / 0.5823 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6501, allocations: 93.55 kB / 0.5823 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.6502, allocations: 6.188 kB / 0.5823 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6503, allocations: 332 kB / 0.5827 GB, free: 432 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.6506, allocations: 88.56 kB / 0.5827 GB, free: 368 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.651, allocations: 272.5 kB / 0.583 GB, free: 44 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.6514, allocations: 146 kB / 0.5831 GB, free: 15.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6514, allocations: 8 kB / 0.5832 GB, free: 15.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001115/0.6525, allocations: 438 kB / 0.5836 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.6526, allocations: 8 kB / 0.5836 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6526, allocations: 11.94 kB / 0.5836 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.6529, allocations: 60.58 kB / 0.5837 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.6535, allocations: 80.2 kB / 0.5837 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.6557, allocations: 1.612 MB / 0.5853 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.6561, allocations: 27.03 kB / 0.5853 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.6562, allocations: 27.44 kB / 0.5854 GB, free: 13.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.6566, allocations: 196.6 kB / 0.5855 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.6567, allocations: 43.48 kB / 0.5856 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.6574, allocations: 340.5 kB / 0.5859 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6574, allocations: 8 kB / 0.5859 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6574, allocations: 0 / 0.5859 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6574, allocations: 0 / 0.5859 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.6589, allocations: 0.7766 MB / 0.5867 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.659, allocations: 0 / 0.5867 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.6594, allocations: 39.92 kB / 0.5867 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.6595, allocations: 31.75 kB / 0.5867 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.6595, allocations: 4 kB / 0.5867 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.6609, allocations: 1.384 MB / 0.5881 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6609, allocations: 0 / 0.5881 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.662, allocations: 0.5475 MB / 0.5886 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.6622, allocations: 126.4 kB / 0.5888 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.6623, allocations: 2.938 kB / 0.5888 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.6625, allocations: 7.188 kB / 0.5888 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6626, allocations: 18.66 kB / 0.5888 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.6626, allocations: 6.562 kB / 0.5888 GB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004225/0.663, allocations: 253 kB / 0.589 GB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6631, allocations: 64 / 0.589 GB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007665/0.6638, allocations: 102.1 kB / 0.5891 GB, free: 10.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001518/0.6654, allocations: 1.279 MB / 0.5904 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.6664, allocations: 390.1 kB / 0.5907 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6664, allocations: 0 / 0.5907 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.6668, allocations: 207 kB / 0.5909 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.6676, allocations: 92.47 kB / 0.591 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.6748, allocations: 6.737 MB / 0.5976 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.6755, allocations: 0.875 MB / 0.5985 GB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.6758, allocations: 156.3 kB / 0.5986 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6758, allocations: 0 / 0.5986 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.466, allocations: 9.006 MB / 0.6074 GB, free: 7.863 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)