Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 93.44 kB / 16.65 MB, free: 6.598 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.001065/0.001065, allocations: 180.9 kB / 17.56 MB, free: 6.203 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.453/1.453, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1724/0.1724, allocations: 38.06 MB / 310.1 MB, free: 5.906 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.000538/0.0005382, allocations: 15.12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2604, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005947/0.2664, allocations: 6.649 MB / 440.1 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.2691, allocations: 1.707 MB / 441.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.2696, allocations: 35.75 kB / 441.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.2701, allocations: 115.2 kB / 442 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007895/0.2709, allocations: 390.3 kB / 442.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.2713, allocations: 167.8 kB / 442.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2725, allocations: 1.621 MB / 444.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.2729, allocations: 283 kB / 444.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005877/0.2735, allocations: 378.3 kB / 444.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.2741, allocations: 0.5257 MB / 445.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.2742, allocations: 32 kB / 445.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2743, allocations: 32 kB / 445.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2745, allocations: 267.3 kB / 445.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.2748, allocations: 348 kB / 446 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.2753, allocations: 0.7902 MB / 446.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2754, allocations: 0 / 446.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2754, allocations: 0 / 446.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2754, allocations: 0 / 446.8 MB, free: 5.324 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001545/0.2769, allocations: 0.9063 MB / 447.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.277, allocations: 8.031 kB / 447.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2771, allocations: 72.09 kB / 447.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.2778, allocations: 0.5535 MB / 448.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.278, allocations: 116.8 kB / 448.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.2781, allocations: 56 kB / 448.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2791, allocations: 0.7889 MB / 449.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2792, allocations: 0 / 449.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.2792, allocations: 24 kB / 449.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/0.2793, allocations: 40.91 kB / 449.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2805, allocations: 0.7533 MB / 450.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.2838, allocations: 2.636 MB / 452.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2854, allocations: 0.8478 MB / 453.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.2862, allocations: 411.4 kB / 454 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.2862, allocations: 12.38 kB / 454 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2863, allocations: 35 kB / 454 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.2863, allocations: 4 kB / 454 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.004299/0.2906, allocations: 2.233 MB / 456.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.2907, allocations: 81.55 kB / 456.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2912, allocations: 401.9 kB / 456.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.2912, allocations: 33.7 kB / 456.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.2915, allocations: 288.5 kB / 457.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2916, allocations: 181.4 kB / 457.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.2917, allocations: 45.7 kB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2919, allocations: 362.7 kB / 457.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.2926, allocations: 293 kB / 457.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.2932, allocations: 401.1 kB / 458.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2943, allocations: 0.685 MB / 459 MB, free: 8.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2943, allocations: 4 kB / 459 MB, free: 8.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001568/0.2959, allocations: 0.8993 MB / 459.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2959, allocations: 8 kB / 459.9 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2959, allocations: 4.156 kB / 459.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.2962, allocations: 77.66 kB / 460 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.2978, allocations: 399.5 kB / 460.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/0.3038, allocations: 6.178 MB / 466.6 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.3043, allocations: 48.08 kB / 466.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3044, allocations: 20 kB / 466.6 MB, free: 392 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.3048, allocations: 241.6 kB / 466.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.3048, allocations: 43.44 kB / 466.9 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.3065, allocations: 0.8632 MB / 467.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3065, allocations: 4 kB / 467.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3065, allocations: 3.984 kB / 467.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3065, allocations: 7.984 kB / 467.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.3093, allocations: 1.723 MB / 469.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3094, allocations: 4.188 kB / 469.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.3112, allocations: 423.5 kB / 469.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3115, allocations: 89.62 kB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3115, allocations: 15.98 kB / 470 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.3137, allocations: 2.895 MB / 472.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3137, allocations: 3.984 kB / 472.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.316, allocations: 1.363 MB / 474.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3161, allocations: 120.6 kB / 474.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.3162, allocations: 15.98 kB / 474.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.3166, allocations: 51.98 kB / 474.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3167, allocations: 47.81 kB / 474.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3167, allocations: 16 kB / 474.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.3171, allocations: 283.1 kB / 474.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3171, allocations: 0 / 474.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000691/0.3178, allocations: 148 kB / 475 MB, free: 7.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.3179, allocations: 111.1 kB / 475.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.3209, allocations: 1.199 MB / 476.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3209, allocations: 8.125 kB / 476.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.3231, allocations: 0.903 MB / 477.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.3239, allocations: 126 kB / 477.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.3274, allocations: 1.93 MB / 479.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.328, allocations: 0.9408 MB / 480.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.3284, allocations: 124.7 kB / 480.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3286, allocations: 47.42 kB / 480.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3286, allocations: 0 / 480.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Templates: time 0.01295/0.3415, allocations: 7.33 MB / 487.7 MB, free: 10.73 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: