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.0008248/0.0008247, allocations: 91.2 kB / 16.31 MB, free: 5.562 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.0009465/0.0009465, allocations: 174.8 kB / 17.2 MB, free: 5.488 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.323/1.323, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1941/0.1941, allocations: 38.05 MB / 309.7 MB, free: 6.117 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.0004886/0.0004886, allocations: 15.28 kB / 376.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2432, allocations: 56.34 MB / 432.8 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.004927/0.2482, allocations: 6.294 MB / 439.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2505, allocations: 1.63 MB / 440.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.2509, allocations: 43.69 kB / 440.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.2514, allocations: 135 kB / 440.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.2521, allocations: 437.9 kB / 441.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2525, allocations: 199.7 kB / 441.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000975/0.2535, allocations: 1.274 MB / 442.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.2538, allocations: 247.6 kB / 443.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.2543, allocations: 382.3 kB / 443.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005846/0.2549, allocations: 0.5024 MB / 444 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.2549, allocations: 32 kB / 444 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.255, allocations: 35.94 kB / 444 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.2552, allocations: 271.3 kB / 444.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.2554, allocations: 149.3 kB / 444.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.2558, allocations: 0.639 MB / 445.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2558, allocations: 0 / 445.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2558, allocations: 0 / 445.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2558, allocations: 0 / 445.1 MB, free: 6.703 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.001573/0.2574, allocations: 0.9023 MB / 446 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2574, allocations: 15.95 kB / 446 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2576, allocations: 75.11 kB / 446.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.2584, allocations: 0.5291 MB / 446.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.2585, allocations: 120.7 kB / 446.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/0.2586, allocations: 59.91 kB / 446.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2598, allocations: 0.7888 MB / 447.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2598, allocations: 0 / 447.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.2599, allocations: 27.98 kB / 447.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.26, allocations: 40.92 kB / 447.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2611, allocations: 0.7494 MB / 448.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.264, allocations: 2.628 MB / 451 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.2655, allocations: 0.8555 MB / 451.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.2661, allocations: 415.4 kB / 452.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2661, allocations: 4.438 kB / 452.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2662, allocations: 39 kB / 452.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.893e-06/0.2662, allocations: 0 / 452.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003834/0.27, allocations: 2.209 MB / 454.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2701, allocations: 85.55 kB / 454.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.2705, allocations: 397.9 kB / 455 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.2705, allocations: 37.7 kB / 455 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2707, allocations: 288.5 kB / 455.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2709, allocations: 173.5 kB / 455.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.2709, allocations: 12 kB / 455.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.271, allocations: 358.8 kB / 455.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.2716, allocations: 288.9 kB / 456.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.2721, allocations: 397.1 kB / 456.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.2727, allocations: 318 kB / 456.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2727, allocations: 4 kB / 456.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001455/0.2742, allocations: 0.9032 MB / 457.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2742, allocations: 15.89 kB / 457.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2742, allocations: 4 kB / 457.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.2745, allocations: 73.61 kB / 457.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2759, allocations: 399.7 kB / 458.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.2812, allocations: 6.171 MB / 464.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.2817, allocations: 52.05 kB / 464.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.2818, allocations: 27.94 kB / 464.5 MB, free: 2.25 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 (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.0003612/0.2821, allocations: 233.7 kB / 464.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.2822, allocations: 51.34 kB / 464.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.2837, allocations: 0.8594 MB / 465.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2837, allocations: 7.953 kB / 465.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2837, allocations: 4 kB / 465.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.2837, allocations: 7.984 kB / 465.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.2863, allocations: 1.711 MB / 467.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2863, allocations: 4 kB / 467.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.2879, allocations: 427.7 kB / 467.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.2882, allocations: 89.62 kB / 467.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.2882, allocations: 19.94 kB / 467.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.2903, allocations: 2.884 MB / 470.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2903, allocations: 0 / 470.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.2923, allocations: 1.363 MB / 472.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2925, allocations: 120.5 kB / 472.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.2926, allocations: 15.98 kB / 472.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.2929, allocations: 47.95 kB / 472.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.293, allocations: 51.83 kB / 472.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.2931, allocations: 20 kB / 472.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.2934, allocations: 279.1 kB / 472.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.2934, allocations: 0 / 472.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.294, allocations: 147.9 kB / 472.8 MB, free: 9.449 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 (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.000129/0.2942, allocations: 115.1 kB / 472.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.2967, allocations: 1.202 MB / 474.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2967, allocations: 0 / 474.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.2986, allocations: 0.8885 MB / 475 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.2993, allocations: 136.2 kB / 475.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3022, allocations: 1.883 MB / 477 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3027, allocations: 0.9369 MB / 477.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.3031, allocations: 132.7 kB / 478.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3032, allocations: 39.44 kB / 478.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3032, allocations: 0 / 478.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of Templates: time 0.01215/0.3154, allocations: 7.138 MB / 485.2 MB, free: 12.87 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: