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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001996/0.001996, allocations: 111.2 kB / 17.29 MB, free: 6.059 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.002606/0.002606, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.383/2.383, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2703/0.2703, allocations: 38.02 MB / 330.1 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 63.73 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1793, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.01647/0.1959, allocations: 7.086 MB / 464.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006123/0.2021, allocations: 1.663 MB / 465.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2033, allocations: 39.75 kB / 465.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2044, allocations: 119.2 kB / 465.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.2066, allocations: 386.4 kB / 466.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2076, allocations: 171.7 kB / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.21, allocations: 1.083 MB / 467.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008281/0.2108, allocations: 360.6 kB / 467.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.2121, allocations: 462.2 kB / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.2137, allocations: 0.553 MB / 468.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.214, allocations: 71.88 kB / 469 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.2145, allocations: 68 kB / 469 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.2152, allocations: 311.2 kB / 469.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.2163, allocations: 358.4 kB / 469.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.2176, allocations: 0.6665 MB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2176, allocations: 0 / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2176, allocations: 0 / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.364e-05/0.2177, allocations: 0 / 470.3 MB, free: 11 MB / 350.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.004049/0.2217, allocations: 1.004 MB / 471.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.2218, allocations: 11.89 kB / 471.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.2221, allocations: 72.09 kB / 471.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.2239, allocations: 0.5496 MB / 472 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.2242, allocations: 112.8 kB / 472.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.2244, allocations: 56 kB / 472.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.2268, allocations: 0.7772 MB / 472.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.2269, allocations: 11.88 kB / 472.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.227, allocations: 20 kB / 473 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/0.2272, allocations: 32.97 kB / 473 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.2297, allocations: 0.7259 MB / 473.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.2363, allocations: 2.597 MB / 476.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.2391, allocations: 0.8088 MB / 477.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.2403, allocations: 403.4 kB / 477.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.2404, allocations: 4.438 kB / 477.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.2404, allocations: 39 kB / 477.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 4.359e-06/0.2405, allocations: 0 / 477.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00759/0.2481, allocations: 2.139 MB / 479.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.2482, allocations: 85.55 kB / 479.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.2492, allocations: 401.9 kB / 480.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.2493, allocations: 33.7 kB / 480.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.2496, allocations: 284.5 kB / 480.5 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.25, allocations: 181.4 kB / 480.7 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.2503, allocations: 98.16 kB / 480.8 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.2506, allocations: 366.8 kB / 481.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.2515, allocations: 268.9 kB / 481.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.2524, allocations: 385.1 kB / 481.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.2543, allocations: 0.6498 MB / 482.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.2544, allocations: 0 / 482.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003094/0.2575, allocations: 0.876 MB / 483.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.2575, allocations: 12.03 kB / 483.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.2576, allocations: 4 kB / 483.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.2581, allocations: 69.67 kB / 483.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.261, allocations: 319.5 kB / 483.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.2725, allocations: 6.524 MB / 490.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.2735, allocations: 43.95 kB / 490.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.2737, allocations: 20 kB / 490.3 MB, free: 5.945 MB / 366.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.0008361/0.2746, allocations: 250.8 kB / 490.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.2748, allocations: 51.34 kB / 490.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.2779, allocations: 0.8242 MB / 491.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.278, allocations: 8 kB / 491.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.278, allocations: 0 / 491.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.278, allocations: 3.984 kB / 491.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.2836, allocations: 1.68 MB / 493.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.2837, allocations: 0 / 493.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/0.2871, allocations: 319.8 kB / 493.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006151/0.2877, allocations: 97.56 kB / 493.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.2879, allocations: 11.98 kB / 493.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/0.2922, allocations: 3.153 MB / 496.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.2922, allocations: 7.969 kB / 496.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004329/0.2966, allocations: 1.316 MB / 498 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.2969, allocations: 120.5 kB / 498.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.2971, allocations: 23.97 kB / 498.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.2979, allocations: 39.95 kB / 498.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.2982, allocations: 47.88 kB / 498.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.2983, allocations: 16 kB / 498.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006742/0.299, allocations: 283.1 kB / 498.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.299, allocations: 0 / 498.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001268/0.3003, allocations: 144 kB / 498.6 MB, free: 13.07 MB / 382.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.0003362/0.3006, allocations: 116.2 kB / 498.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005622/0.3063, allocations: 1.182 MB / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3063, allocations: 0 / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003765/0.3101, allocations: 0.7864 MB / 0.489 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.3119, allocations: 143.3 kB / 0.4891 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/0.3181, allocations: 1.902 MB / 0.491 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009761/0.3191, allocations: 0.9408 MB / 0.4919 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.3195, allocations: 43.44 kB / 0.4919 GB, free: 7.832 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3195, allocations: 0 / 0.4919 GB, free: 7.832 MB / 382.1 MB Notification: Performance of Templates: time 0.03797/0.3575, allocations: 16.7 MB / 0.5082 GB, free: 7.148 MB / 398.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)