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.001464/0.001464, allocations: 184.7 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.941/1.941, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.00108/0.00108, allocations: 93.94 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.277/0.277, allocations: 37.96 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.815e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 56.31 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6193, allocations: 98.85 MB / 0.5587 GB, free: 4.703 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.6197, allocations: 87.95 kB / 0.5587 GB, free: 4.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04953/0.6692, allocations: 10.91 MB / 0.5694 GB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6693, allocations: 0 / 0.5694 GB, free: 9.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.6693, allocations: 12 kB / 0.5694 GB, free: 9.57 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001676/0.671, allocations: 0.6879 MB / 0.5701 GB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.6711, allocations: 15.97 kB / 0.5701 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6712, allocations: 78.52 kB / 0.5702 GB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.6714, allocations: 59.3 kB / 0.5702 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/0.6765, allocations: 1.194 MB / 0.5714 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.6766, allocations: 28.78 kB / 0.5714 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.6767, allocations: 43.89 kB / 0.5715 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6779, allocations: 494.4 kB / 0.5719 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.678, allocations: 3.938 kB / 0.5719 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/0.678, allocations: 16 kB / 0.5719 GB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.6781, allocations: 20.77 kB / 0.572 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.6791, allocations: 354.8 kB / 0.5723 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.6831, allocations: 2.086 MB / 0.5743 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.6838, allocations: 237.9 kB / 0.5746 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.6842, allocations: 130.1 kB / 0.5747 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.6842, allocations: 8.188 kB / 0.5747 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.6843, allocations: 38.69 kB / 0.5747 GB, free: 3.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.326e-06/0.6843, allocations: 0 / 0.5747 GB, free: 3.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001674/0.686, allocations: 0.6852 MB / 0.5754 GB, free: 3.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6861, allocations: 81.11 kB / 0.5755 GB, free: 2.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.6866, allocations: 334.7 kB / 0.5758 GB, free: 2.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.6867, allocations: 29.7 kB / 0.5758 GB, free: 2.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.687, allocations: 341.4 kB / 0.5762 GB, free: 2.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/0.6871, allocations: 82.89 kB / 0.5762 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.6871, allocations: 8 kB / 0.5762 GB, free: 2.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6873, allocations: 326.8 kB / 0.5766 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.6875, allocations: 80.86 kB / 0.5766 GB, free: 1.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.688, allocations: 273.7 kB / 0.5769 GB, free: 1.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.6884, allocations: 144.3 kB / 0.577 GB, free: 1.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6884, allocations: 4 kB / 0.577 GB, free: 1.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001182/0.6896, allocations: 418.1 kB / 0.5774 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6896, allocations: 12.19 kB / 0.5774 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6896, allocations: 4 kB / 0.5774 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.69, allocations: 56.83 kB / 0.5775 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.6905, allocations: 83.8 kB / 0.5776 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6925, allocations: 1.492 MB / 0.579 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.693, allocations: 23.89 kB / 0.5791 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.6931, allocations: 20 kB / 0.5791 GB, free: 15 MB / 426.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.0001527/0.6933, allocations: 136.9 kB / 0.5792 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.6933, allocations: 35.53 kB / 0.5792 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.694, allocations: 236.8 kB / 0.5795 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.694, allocations: 3.953 kB / 0.5795 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.694, allocations: 7.938 kB / 0.5795 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.694, allocations: 0 / 0.5795 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.6954, allocations: 0.6641 MB / 0.5801 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6954, allocations: 0 / 0.5801 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.6959, allocations: 56 kB / 0.5802 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.6959, allocations: 3.953 kB / 0.5802 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.6959, allocations: 8 kB / 0.5802 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.696, allocations: 3.984 kB / 0.5802 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.696, allocations: 192 / 0.5802 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.6969, allocations: 464.2 kB / 0.5806 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.6971, allocations: 128.6 kB / 0.5808 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.6972, allocations: 4 kB / 0.5808 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6974, allocations: 8 kB / 0.5808 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.6975, allocations: 11.98 kB / 0.5808 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.6975, allocations: 11.98 kB / 0.5808 GB, free: 13.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004412/0.698, allocations: 245.2 kB / 0.581 GB, free: 12.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.698, allocations: 4.062 kB / 0.581 GB, free: 12.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007087/0.6987, allocations: 99.94 kB / 0.5811 GB, free: 12.79 MB / 426.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.001462/0.7002, allocations: 1.17 MB / 0.5823 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.7013, allocations: 370.9 kB / 0.5826 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7014, allocations: 3.938 kB / 0.5826 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.7016, allocations: 93.03 kB / 0.5827 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.7024, allocations: 89.53 kB / 0.5828 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7047, allocations: 0.7665 MB / 0.5836 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.7054, allocations: 0.8668 MB / 0.5844 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.7057, allocations: 151.4 kB / 0.5845 GB, free: 9.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.001e-06/0.7058, allocations: 0 / 0.5845 GB, free: 9.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.891/3.597, allocations: 8.171 MB / 0.5925 GB, free: 0.9805 MB / 426.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)