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.00104/0.00104, allocations: 114.9 kB / 17.69 MB, free: 5.312 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.001061/0.001061, allocations: 191 kB / 18.63 MB, free: 4.379 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.373/1.373, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.172/0.172, allocations: 37.98 MB / 309.8 MB, free: 5.977 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.001411/0.001411, allocations: 63.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2337, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005716/0.2395, allocations: 6.245 MB / 438.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.2416, allocations: 1.469 MB / 439.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.2421, allocations: 23.88 kB / 439.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.2426, allocations: 142.9 kB / 439.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009467/0.2436, allocations: 413.9 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.244, allocations: 187.7 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.2449, allocations: 1.094 MB / 441.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.2452, allocations: 344.6 kB / 441.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.2457, allocations: 470.2 kB / 442.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.2462, allocations: 0.5257 MB / 442.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.2463, allocations: 64 kB / 443 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.2464, allocations: 71.94 kB / 443 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2466, allocations: 307.3 kB / 443.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.2468, allocations: 362.4 kB / 443.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.2473, allocations: 0.8411 MB / 444.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2474, allocations: 0 / 444.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2474, allocations: 4 kB / 444.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2474, allocations: 0 / 444.5 MB, free: 6.945 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.001539/0.2489, allocations: 1.007 MB / 445.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.249, allocations: 11.89 kB / 445.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.927e-05/0.2491, allocations: 72.09 kB / 445.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.2499, allocations: 0.5808 MB / 446.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.2501, allocations: 116.8 kB / 446.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.2501, allocations: 56 kB / 446.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.2511, allocations: 0.7694 MB / 447.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2511, allocations: 7.938 kB / 447.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.2512, allocations: 23.98 kB / 447.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.2513, allocations: 36.92 kB / 447.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2523, allocations: 0.7259 MB / 447.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2554, allocations: 2.608 MB / 450.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.2566, allocations: 0.801 MB / 451.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.2572, allocations: 403.3 kB / 451.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.2573, allocations: 4.438 kB / 451.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2573, allocations: 39 kB / 451.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.794e-06/0.2573, allocations: 0 / 451.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003729/0.261, allocations: 2.131 MB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.2611, allocations: 93.53 kB / 454 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.2615, allocations: 393.9 kB / 454.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.2616, allocations: 37.7 kB / 454.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.2618, allocations: 288.4 kB / 454.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2619, allocations: 185.3 kB / 454.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.262, allocations: 94.28 kB / 455 MB, free: 12.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2622, allocations: 362.8 kB / 455.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.2627, allocations: 272.9 kB / 455.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.2632, allocations: 381.1 kB / 456 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2643, allocations: 0.6498 MB / 456.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2643, allocations: 4 kB / 456.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001402/0.2657, allocations: 0.8758 MB / 457.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2657, allocations: 8 kB / 457.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2657, allocations: 4 kB / 457.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.266, allocations: 73.66 kB / 457.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.2673, allocations: 311.6 kB / 457.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.2727, allocations: 6.52 MB / 464.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.2731, allocations: 39.95 kB / 464.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.2731, allocations: 24.11 kB / 464.5 MB, free: 1.879 MB / 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.0002999/0.2734, allocations: 241.7 kB / 464.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.2735, allocations: 47.44 kB / 464.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2749, allocations: 0.8281 MB / 465.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2749, allocations: 4 kB / 465.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2749, allocations: 0 / 465.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2749, allocations: 7.984 kB / 465.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2776, allocations: 1.685 MB / 467.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2776, allocations: 0 / 467.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.279, allocations: 327.7 kB / 467.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.2793, allocations: 89.62 kB / 467.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.2793, allocations: 12 kB / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.2815, allocations: 3.169 MB / 470.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2815, allocations: 7.969 kB / 470.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2834, allocations: 1.31 MB / 472.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2835, allocations: 128.5 kB / 472.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.2836, allocations: 11.94 kB / 472.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.2839, allocations: 39.95 kB / 472.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.284, allocations: 47.94 kB / 472.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.2841, allocations: 16 kB / 472.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.2843, allocations: 283.1 kB / 472.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2844, allocations: 0 / 472.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006008/0.285, allocations: 148 kB / 472.9 MB, free: 9 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.0001224/0.2851, allocations: 111.2 kB / 473 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.2875, allocations: 1.085 MB / 474 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2875, allocations: 0 / 474 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.2893, allocations: 0.7943 MB / 474.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.29, allocations: 147.2 kB / 475 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2928, allocations: 1.597 MB / 476.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.2934, allocations: 0.9486 MB / 477.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.2937, allocations: 120.7 kB / 477.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2938, allocations: 47.42 kB / 477.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2938, allocations: 0 / 477.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Templates: time 0.0129/0.3067, allocations: 7.815 MB / 485.5 MB, free: 12.23 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)