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.002032/0.002032, allocations: 189 kB / 8.013 MB, free: 1.062 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.039/2.039, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001113/0.001113, allocations: 94.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2625/0.2625, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.607e-05, allocations: 0 / 409.9 MB, free: 35.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 56.33 MB / 466.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.6142, allocations: 98.17 MB / 0.5512 GB, free: 9.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.6146, allocations: 86.27 kB / 0.5513 GB, free: 9.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04436/0.6589, allocations: 10.8 MB / 0.5618 GB, free: 3.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.659, allocations: 3.938 kB / 0.5618 GB, free: 3.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.659, allocations: 11.75 kB / 0.5619 GB, free: 3.422 MB / 362.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.001429/0.6605, allocations: 0.6875 MB / 0.5625 GB, free: 2.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6606, allocations: 8.031 kB / 0.5625 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.6607, allocations: 55.3 kB / 0.5626 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.6653, allocations: 1.199 MB / 0.5638 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.6654, allocations: 12 kB / 0.5638 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.6655, allocations: 27.91 kB / 0.5638 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008289/0.6664, allocations: 334.1 kB / 0.5641 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.6672, allocations: 430.4 kB / 0.5645 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6673, allocations: 4 kB / 0.5645 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.6673, allocations: 3.984 kB / 0.5645 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.6674, allocations: 24.73 kB / 0.5646 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.671, allocations: 2.001 MB / 0.5665 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.6716, allocations: 233.9 kB / 0.5667 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.672, allocations: 122.4 kB / 0.5668 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.6721, allocations: 4.188 kB / 0.5669 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6721, allocations: 33.56 kB / 0.5669 GB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.357e-06/0.6721, allocations: 4 kB / 0.5669 GB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001555/0.6737, allocations: 0.6448 MB / 0.5675 GB, free: 14.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.6738, allocations: 85.05 kB / 0.5676 GB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.6744, allocations: 307.2 kB / 0.5679 GB, free: 13.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.6744, allocations: 25.7 kB / 0.5679 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.6747, allocations: 343.7 kB / 0.5682 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.6748, allocations: 81.25 kB / 0.5683 GB, free: 13.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.6748, allocations: 0 / 0.5683 GB, free: 13.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.675, allocations: 325.1 kB / 0.5686 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.6752, allocations: 77.55 kB / 0.5687 GB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.6756, allocations: 256.9 kB / 0.569 GB, free: 12.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.6759, allocations: 129.3 kB / 0.5691 GB, free: 12.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6759, allocations: 4 kB / 0.5691 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001012/0.6769, allocations: 370.8 kB / 0.5694 GB, free: 12.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.677, allocations: 8 kB / 0.5694 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.677, allocations: 8 kB / 0.5694 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.6773, allocations: 52.52 kB / 0.5695 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.6778, allocations: 84.06 kB / 0.5696 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.6797, allocations: 1.434 MB / 0.571 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.6802, allocations: 16.02 kB / 0.571 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.6802, allocations: 23.61 kB / 0.571 GB, free: 10.75 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.6804, allocations: 120.3 kB / 0.5711 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004681/0.6809, allocations: 201.2 kB / 0.5713 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.681, allocations: 35.53 kB / 0.5714 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.6815, allocations: 216.4 kB / 0.5716 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.6815, allocations: 4 kB / 0.5716 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6815, allocations: 7.984 kB / 0.5716 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.6816, allocations: 4 kB / 0.5716 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6828, allocations: 0.6021 MB / 0.5722 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6828, allocations: 0 / 0.5722 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.6833, allocations: 51.91 kB / 0.5722 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.6833, allocations: 0 / 0.5722 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.6834, allocations: 4 kB / 0.5722 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.6834, allocations: 7.984 kB / 0.5722 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6834, allocations: 0 / 0.5722 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.6841, allocations: 431.7 kB / 0.5726 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.6844, allocations: 127.5 kB / 0.5728 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.6844, allocations: 8.062 kB / 0.5728 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.6847, allocations: 0 / 0.5728 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.6847, allocations: 23.03 kB / 0.5728 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.6848, allocations: 4 kB / 0.5728 GB, free: 9.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003582/0.6851, allocations: 233.2 kB / 0.573 GB, free: 8.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6852, allocations: 0 / 0.573 GB, free: 8.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007269/0.6859, allocations: 80 kB / 0.5731 GB, free: 8.832 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.6872, allocations: 1.141 MB / 0.5742 GB, free: 7.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009338/0.6882, allocations: 344.4 kB / 0.5745 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6882, allocations: 0.625 kB / 0.5745 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.6884, allocations: 88.42 kB / 0.5746 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.6893, allocations: 82.7 kB / 0.5747 GB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.6915, allocations: 0.7277 MB / 0.5754 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.6921, allocations: 0.873 MB / 0.5763 GB, free: 5.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.6924, allocations: 150 kB / 0.5764 GB, free: 5.703 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6924, allocations: 4 kB / 0.5764 GB, free: 5.699 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.911/3.604, allocations: 8.104 MB / 0.5843 GB, free: 13.68 MB / 394.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)