Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001433, allocations: 186.1 kB / 8.011 MB, free: 1.059 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 86.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2899/0.2899, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.091e-05, allocations: 3.984 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 56.32 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5224/0.6268, allocations: 99.51 MB / 0.5524 GB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6271, allocations: 100 kB / 0.5525 GB, free: 9.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05494/0.6821, allocations: 13.94 MB / 0.5661 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6821, allocations: 0 / 0.5661 GB, free: 72 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.638e-05/0.6822, allocations: 12 kB / 0.5662 GB, free: 60 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002527/0.6847, allocations: 0.8944 MB / 0.567 GB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6848, allocations: 8.031 kB / 0.567 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.6851, allocations: 75.11 kB / 0.5671 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.6895, allocations: 1.099 MB / 0.5682 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.6898, allocations: 99.52 kB / 0.5683 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.69, allocations: 32 kB / 0.5683 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/0.6915, allocations: 0.5544 MB / 0.5688 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6931, allocations: 0.6542 MB / 0.5695 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6931, allocations: 3.938 kB / 0.5695 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/0.6932, allocations: 0 / 0.5695 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.6932, allocations: 23.89 kB / 0.5695 GB, free: 13.11 MB / 378.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.006516/0.6998, allocations: 2.613 MB / 0.5721 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.7017, allocations: 0.7385 MB / 0.5728 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.7022, allocations: 272.4 kB / 0.573 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.7023, allocations: 4 kB / 0.573 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7024, allocations: 38.78 kB / 0.5731 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.056e-06/0.7024, allocations: 0 / 0.5731 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003041/0.7054, allocations: 1.271 MB / 0.5743 GB, free: 8.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.7055, allocations: 85.05 kB / 0.5744 GB, free: 8.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.706, allocations: 317.2 kB / 0.5747 GB, free: 8.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.7061, allocations: 25.7 kB / 0.5747 GB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.7064, allocations: 351.8 kB / 0.5751 GB, free: 8.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.7065, allocations: 144 kB / 0.5752 GB, free: 8.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.7066, allocations: 0 / 0.5752 GB, free: 8.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7067, allocations: 329.8 kB / 0.5755 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.7072, allocations: 186.1 kB / 0.5757 GB, free: 7.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.7077, allocations: 288.8 kB / 0.576 GB, free: 7.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.7082, allocations: 211.8 kB / 0.5762 GB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7082, allocations: 0 / 0.5762 GB, free: 7.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001417/0.7097, allocations: 0.6243 MB / 0.5768 GB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7097, allocations: 8 kB / 0.5768 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7097, allocations: 4 kB / 0.5768 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.7101, allocations: 67.19 kB / 0.5769 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.713, allocations: 370.6 kB / 0.5772 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/0.7197, allocations: 5.654 MB / 0.5827 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.7205, allocations: 36.22 kB / 0.5828 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.7206, allocations: 15.69 kB / 0.5828 GB, free: 448 kB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.7208, allocations: 116.9 kB / 0.5829 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.7209, allocations: 39.53 kB / 0.5829 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.7223, allocations: 0.6028 MB / 0.5835 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.7224, allocations: 7.953 kB / 0.5835 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7224, allocations: 0 / 0.5835 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.7224, allocations: 3.984 kB / 0.5835 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.7255, allocations: 1.299 MB / 0.5848 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.7256, allocations: 4.062 kB / 0.5848 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/0.7289, allocations: 395.4 kB / 0.5852 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.7292, allocations: 68.72 kB / 0.5852 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.7293, allocations: 7.062 kB / 0.5853 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.7321, allocations: 2.739 MB / 0.5879 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.7322, allocations: 8.203 kB / 0.5879 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.7341, allocations: 0.9694 MB / 0.5889 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.7343, allocations: 120.6 kB / 0.589 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.7344, allocations: 7.938 kB / 0.589 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.735, allocations: 27.97 kB / 0.589 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.7352, allocations: 39.38 kB / 0.5891 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.7352, allocations: 15.45 kB / 0.5891 GB, free: 10.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004087/0.7357, allocations: 245.5 kB / 0.5893 GB, free: 10.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7357, allocations: 0 / 0.5893 GB, free: 10.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00103/0.7367, allocations: 124 kB / 0.5894 GB, free: 10.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002728/0.737, allocations: 123.5 kB / 0.5896 GB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.7404, allocations: 0.9155 MB / 0.5905 GB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7405, allocations: 0 / 0.5905 GB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.7435, allocations: 0.7382 MB / 0.5912 GB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.7445, allocations: 110.2 kB / 0.5913 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.7473, allocations: 1.112 MB / 0.5924 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.7481, allocations: 0.9618 MB / 0.5933 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.7484, allocations: 35.44 kB / 0.5933 GB, free: 6.336 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7484, allocations: 0 / 0.5933 GB, free: 6.336 MB / 394.7 MB Notification: Performance of Templates: time 0.03002/0.7785, allocations: 15.73 MB / 0.6087 GB, free: 6.68 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)