Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001604, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 221.9 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 98.73 kB / 270.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2582/0.2582, allocations: 38.07 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.00043, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4783/0.5854, allocations: 94.21 MB / 0.5598 GB, free: 5.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5858, allocations: 96.69 kB / 0.5599 GB, free: 5.387 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.6095, allocations: 6.144 MB / 0.5659 GB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6096, allocations: 4 kB / 0.5659 GB, free: 108 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.6096, allocations: 7.984 kB / 0.5659 GB, free: 100 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001105/0.6107, allocations: 0.5401 MB / 0.5665 GB, free: 15.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6108, allocations: 8.031 kB / 0.5665 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.318e-05/0.6109, allocations: 35.92 kB / 0.5665 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.6137, allocations: 0.7721 MB / 0.5673 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.6138, allocations: 13.69 kB / 0.5673 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.6138, allocations: 18.5 kB / 0.5673 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.6144, allocations: 269.1 kB / 0.5675 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6145, allocations: 4 kB / 0.5675 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.6145, allocations: 6 kB / 0.5675 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.6145, allocations: 8 kB / 0.5676 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.615, allocations: 157.3 kB / 0.5677 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.6168, allocations: 1.173 MB / 0.5689 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.617, allocations: 81.98 kB / 0.5689 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.617, allocations: 3.938 kB / 0.5689 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6171, allocations: 30.56 kB / 0.569 GB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.106e-06/0.6171, allocations: 0 / 0.569 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009456/0.618, allocations: 417.9 kB / 0.5694 GB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.6181, allocations: 81.11 kB / 0.5694 GB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.6184, allocations: 221 kB / 0.5696 GB, free: 12.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.6185, allocations: 25.7 kB / 0.5697 GB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.6186, allocations: 244.2 kB / 0.5699 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.6187, allocations: 26.58 kB / 0.5699 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.6187, allocations: 7.062 kB / 0.5699 GB, free: 12.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6189, allocations: 324 kB / 0.5702 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.6189, allocations: 27.17 kB / 0.5703 GB, free: 11.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.6191, allocations: 126.3 kB / 0.5704 GB, free: 11.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.6193, allocations: 47.88 kB / 0.5704 GB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6193, allocations: 0 / 0.5704 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003703/0.6197, allocations: 168 kB / 0.5706 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6197, allocations: 8.438 kB / 0.5706 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6197, allocations: 4 kB / 0.5706 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6198, allocations: 11.98 kB / 0.5706 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.62, allocations: 39.92 kB / 0.5707 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.6201, allocations: 7.984 kB / 0.5707 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.6202, allocations: 7.5 kB / 0.5707 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.6203, allocations: 8 kB / 0.5707 GB, free: 11.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.6205, allocations: 152.7 kB / 0.5708 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.6206, allocations: 27.16 kB / 0.5709 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.6208, allocations: 93.62 kB / 0.5709 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6208, allocations: 0 / 0.5709 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.6208, allocations: 8.422 kB / 0.571 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6208, allocations: 0 / 0.571 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.6215, allocations: 420.9 kB / 0.5714 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6215, allocations: 4 kB / 0.5714 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6217, allocations: 23.92 kB / 0.5714 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6217, allocations: 0 / 0.5714 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.6217, allocations: 4 kB / 0.5714 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6217, allocations: 4.031 kB / 0.5714 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6217, allocations: 0 / 0.5714 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.6221, allocations: 256.5 kB / 0.5716 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.6222, allocations: 92.92 kB / 0.5717 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.6223, allocations: 11.25 kB / 0.5717 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6224, allocations: 3.953 kB / 0.5717 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.6225, allocations: 7.984 kB / 0.5717 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.6225, allocations: 0 / 0.5717 GB, free: 10.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.6227, allocations: 171.1 kB / 0.5719 GB, free: 10.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6227, allocations: 0 / 0.5719 GB, free: 10.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004512/0.6232, allocations: 39.5 kB / 0.5719 GB, free: 10.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001735/0.6234, allocations: 122.6 kB / 0.5721 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.6237, allocations: 78.97 kB / 0.5721 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6237, allocations: 4 kB / 0.5721 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.6238, allocations: 26.44 kB / 0.5722 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.6244, allocations: 59.09 kB / 0.5722 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.6258, allocations: 0.6532 MB / 0.5729 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6262, allocations: 0.7664 MB / 0.5736 GB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.6263, allocations: 23.44 kB / 0.5736 GB, free: 8.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.103e-06/0.6263, allocations: 0 / 0.5736 GB, free: 8.391 MB / 378.7 MB Notification: Performance of Templates: time 0.007178/0.6335, allocations: 2.579 MB / 0.5761 GB, free: 5.836 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)