Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 93.62 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 183 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.201/0.201, allocations: 38.04 MB / 309.7 MB, free: 6.145 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005078, allocations: 16 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 56.32 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005408/0.3331, allocations: 6.274 MB / 439.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.3359, allocations: 1.759 MB / 440.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.3364, allocations: 39.69 kB / 440.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.3369, allocations: 151.1 kB / 441 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008507/0.3378, allocations: 362.9 kB / 441.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.3384, allocations: 211.6 kB / 441.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006127/0.339, allocations: 0.5653 MB / 442.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.3394, allocations: 247.6 kB / 442.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.3397, allocations: 342.8 kB / 442.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.3402, allocations: 358.9 kB / 443.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.3403, allocations: 32 kB / 443.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.3403, allocations: 32 kB / 443.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3405, allocations: 259.3 kB / 443.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3407, allocations: 149.3 kB / 443.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.3411, allocations: 0.6663 MB / 444.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3411, allocations: 0 / 444.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3411, allocations: 0 / 444.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3411, allocations: 0 / 444.2 MB, free: 7.418 MB / 318.1 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.001572/0.3427, allocations: 0.9178 MB / 445.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3427, allocations: 12.03 kB / 445.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3429, allocations: 83 kB / 445.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.3437, allocations: 0.533 MB / 445.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.3438, allocations: 120.7 kB / 445.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.3439, allocations: 59.98 kB / 445.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3451, allocations: 0.7889 MB / 446.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3451, allocations: 4 kB / 446.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.3452, allocations: 20 kB / 446.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.3453, allocations: 48.86 kB / 446.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3464, allocations: 0.7142 MB / 447.5 MB, free: 3.98 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003383/0.3498, allocations: 2.759 MB / 450.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.3513, allocations: 0.9283 MB / 451.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3513, allocations: 8.688 kB / 451.2 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3513, allocations: 30.56 kB / 451.2 MB, free: 92 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 3.115e-06/0.3514, allocations: 0 / 451.2 MB, free: 92 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.003947/0.3553, allocations: 2.027 MB / 453.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3554, allocations: 81.14 kB / 453.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.3559, allocations: 425.8 kB / 453.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3559, allocations: 29.7 kB / 453.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3561, allocations: 320.2 kB / 454.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3563, allocations: 138 kB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3563, allocations: 8 kB / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3564, allocations: 366.7 kB / 454.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.3569, allocations: 249 kB / 454.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.3575, allocations: 374 kB / 455.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.358, allocations: 271.7 kB / 455.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.358, allocations: 4 kB / 455.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001471/0.3595, allocations: 0.827 MB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3595, allocations: 4 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3595, allocations: 4 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.3598, allocations: 81.88 kB / 456.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.3613, allocations: 379.5 kB / 456.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.3674, allocations: 6.221 MB / 463 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.368, allocations: 52.2 kB / 463 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.368, allocations: 12 kB / 463 MB, free: 3.492 MB / 334.1 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 (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.0004165/0.3684, allocations: 233.7 kB / 463.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.3685, allocations: 47.39 kB / 463.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.37, allocations: 0.7612 MB / 464.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.3701, allocations: 4 kB / 464.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3701, allocations: 4 kB / 464.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3701, allocations: 3.984 kB / 464.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.3728, allocations: 1.545 MB / 465.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3728, allocations: 3.953 kB / 465.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.3745, allocations: 407.6 kB / 466 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.3747, allocations: 81.64 kB / 466.1 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3748, allocations: 15.98 kB / 466.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.3772, allocations: 2.903 MB / 469 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3772, allocations: 4.062 kB / 469 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3793, allocations: 1.213 MB / 470.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3795, allocations: 120.5 kB / 470.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.3796, allocations: 16.03 kB / 470.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.3799, allocations: 35.97 kB / 470.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.38, allocations: 39.94 kB / 470.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.3801, allocations: 12 kB / 470.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.3805, allocations: 291.1 kB / 470.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3805, allocations: 0 / 470.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007024/0.3812, allocations: 136 kB / 470.9 MB, free: 11.16 MB / 350.1 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 () * Number of clocked 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.0001741/0.3814, allocations: 115.1 kB / 471 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.384, allocations: 1.099 MB / 472.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.384, allocations: 0 / 472.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.386, allocations: 0.8289 MB / 472.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.3867, allocations: 134.3 kB / 473 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.3891, allocations: 1.725 MB / 474.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.3896, allocations: 0.9562 MB / 475.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003124/0.3899, allocations: 100.5 kB / 475.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3901, allocations: 35.44 kB / 475.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3901, allocations: 0 / 475.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Templates: time 0.01223/0.4023, allocations: 7.002 MB / 482.9 MB, free: 15.07 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: